|
#1
| |||
| |||
| i'm doing a bit of research on mac osx and its 100's of megabytes of diskspace that it takes up. i'm curious about the ratio of actual OS code vs. memory taken up for things like graphics, low-level animations, anything that we SEE versus what happens behind the scenes. anybody just happen to know that, or know a way or place where i can find out such information? thanks ahead of time \\ kfancy |
|
#2
| ||||
| ||||
| You mean disk space, as opposed to RAM, right? A good way of doing this is just to open /System and /Library in list view, sort by size, and check the prefs to make is calculate all sizes. Then you can expand folders until you get down to levels that start making sense - printer drivers take up so much space, screen savers so much...
__________________ What is the robbing of a bank compared to the founding of a bank? -- Bertold Brecht |
|
#3
| |||
| |||
| yes, diskspace. looking to see how much space the visual components of the OS take up vs. just OS coding... i.e. how much space is dedicated to window viewing, icon animations, system icons, etc. i've tried looking through the sys libraries but they're not really specific. is there another way to look through some folders via the UNIX interface? i know how to use the UNIX shell, but not really sure where to look. \\ kfancy |
|
#4
| ||||
| ||||
| Your question is still a little under specified. For instance I assume you are interested in the little poof cloud that gets drawn when you drag something off the dock, but what about the code to animate that? Here is a little script that will find all the tiff files in the system directory and add up their sizes. Code: find /System -name "*.tiff" -print0 | xargs -0 ls -l | awk '{sum += $5;} END{ print sum;}' There are a couple of things hidden in resource forks and the like that I missed above but not much. Hope that helps, -Eric |
|
#5
| |||
| |||
| Won't memory usage (and disk space) be hard to quantify (except for actual file space)? Memory and disk usage are both dynamic, so you can check now, and a few seconds later, the results may be substantially different.
__________________ Serendipity is a lucky guess ! |
|
#6
| ||||
| ||||
| I think what he wants to know is, say, comparing OS X to Darwin -- Darwin is the heart and soul of OS X and has the same basic functionality as OS X minus the GUI. A good way to compare the two is to install Darwin on one hard drive and OS X on another, then compare the disk usage of each. For memory operations and processor taxing due to the GUI, run "top" on both machines and see how much processes like "WindowServer" take up on the OS X box versus Darwin (since Darwin doesn't have WindowServer).
__________________ Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server 1024MB 3 x 120GB + 320GB DVR-111D 2 x Radeon 7000 PCI 2 x 17" CRT MacBook 2.0GHz Core 2 Duo - White 10.5.5 2048MB 80GB CD-RW/DVD-ROM iPod Photo 60GB iPod nano 1GB AT&T DSL 6Mb/768k http://www.jeffhoppe.com |
|
#7
| ||||
| ||||
| What about things that are real system components, but at the same time eye-candy / frivolous stuff? $ du -s /System/Library/Frameworks/QuickTime.framework/ 5.2M /System/Library/Frameworks/QuickTime.framework/ $ du -s /System/Library/Frameworks/ForceFeedback.framework/ 576K /System/Library/Frameworks/ForceFeedback.framework/ And so on...
__________________ What is the robbing of a bank compared to the founding of a bank? -- Bertold Brecht |
|
#8
| ||||
| ||||
| I would assume that only operational code is compiled in the framework files, and the GUI elements would be defined only in the .nib files of the actual application, so you could compare application sizes on Darwin vs. OS X and see what the difference is. ...and compare the framework files as well, to see if they differ in size...
__________________ Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server 1024MB 3 x 120GB + 320GB DVR-111D 2 x Radeon 7000 PCI 2 x 17" CRT MacBook 2.0GHz Core 2 Duo - White 10.5.5 2048MB 80GB CD-RW/DVD-ROM iPod Photo 60GB iPod nano 1GB AT&T DSL 6Mb/768k http://www.jeffhoppe.com |
![]() |
| Thread Tools | |
|
|