IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Re: Obviously you are not a programmer :-P
Surely, the executable size is but a small fraction of overall memory usage in a modern OS?

This here is a reasonably typical Mac; few years old, 1GHz CPU, 512MB RAM, 120G-ish of disk. Safari, for example, is a 1MB executable.

According to Activity Monitor, Safari is using 70MB of real, 281MB of virtual, 27MB of shared, 51MB of private, and 80MB of virtual private memory.

Now, I appreciate that MacOS will have a lot of frameworks and libraries and whatnot inhabiting memory, but I'd wot that the applications themselves use more memory than that. Determining what's actually going on in the memory of a computer running a modern operating system is becoming increasingly difficult ;-)

The cache thing, on the other hand, is an entirely different kettle of fish; I didn't think executables themselves ended up in cache.


Peter
[link|http://www.ubuntulinux.org|Ubuntu Linux]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
New Everything winds up in cache
If it is data and has to go to the CPU, it goes into cache.

The instructions that the CPU runs have to get to the CPU. Frequently the same instructions will get there multiple times.

Cheers,
Ben
I have come to believe that idealism without discipline is a quick road to disaster, while discipline without idealism is pointless. -- Aaron Ward (my brother)
     Why Apple moved to Intel - (admin) - (18)
         Nice article. Thanks. - (Another Scott) - (1)
             Size == Speed - (ChrisR)
         I'm not a programmerbloke, but... - (pwhysall) - (15)
             Obviously you are not a programmer :-P - (ben_tilly) - (14)
                 Re: Obviously you are not a programmer :-P - (pwhysall) - (1)
                     Everything winds up in cache - (ben_tilly)
                 But neither are you, at least not that low a level - (broomberg) - (11)
                     I might surprise you - (ben_tilly) - (3)
                         Latency latency latency - (broomberg) - (2)
                             Note that most macs are single-user systems -NT - (ben_tilly) - (1)
                                 No argument -NT - (broomberg)
                     Our perl programmers think that way all the time - (tuberculosis) - (6)
                         Please reread, I changed it - (broomberg) - (5)
                             We have a lot of levels of caching - (tuberculosis) - (4)
                                 Agreed - (broomberg) - (3)
                                     Ahhh, cogs click into place. - (folkert) - (2)
                                         It's helpful to remember just what "load average" means. - (static) - (1)
                                             yea, That is a good analogy... - (folkert)

Comfort the afflicted; afflict the comfortable.
54 ms