So basically the same thing Vista was doing (prefetch, and admittedly it did a shitty job with >1GB ram), except since its Linux, Oh its all fine guys, we won't destroy the OS' reputation.
Tired of explaining Linux's seemingly obtuse memory usage to confused newbies?
11–20 of 74 posts
Re: Tired of explaining Linux's seemingly obtuse memory usage to confused newbies?
#12Wouldn't it make more sense to just include the RAM used for disk-caching when calculating free memory? After all, the whole reason it's being used for disk-caching in the first place is that it's free! The Linuxoids that know what this even means can always explicitly look for the line that says how much memory is being used for caching...
Re: Tired of explaining Linux's seemingly obtuse memory usage to confused newbies?
#13Wouldn't it make more sense to just include the RAM used for disk-caching when calculating free memory? After all, the whole reason it's being used for disk-caching in the first place is that it's free! The Linuxoids that know what this even means can always explicitly look for the line that says how much memory is being used for caching...
The Windows task manager has a separate field called "Available". Right now I have 8190 MB total, 3627 cached, 4151 Available, and 537 free (not sure if that adds up perfectly, it was changing while I typed it).
Wired and Active are basically the RAM being used (Wired is a special activity status for stuff which can not be moved to disk), Inactive is the cache (generally programs which were used recently) and Free is… well, free.
When checking used/free, Inactive and Free count towards free, Wired and Active towards used (though that's not always consistent).
Also, I don't think you have 8TB RAM.
Re: Tired of explaining Linux's seemingly obtuse memory usage to confused newbies?
#14So basically the same thing Vista was doing (prefetch, and admittedly it did a shitty job with >1GB ram), except since its Linux, Oh its all fine guys, we won't destroy the OS' reputation.
Linux has been doing this for a lot longer than Windows has. (Which I only actually know because there was so much FUD about Vista's pre-fetching when it came out.) edit: Sorry, getting prefetching and SuperFetch confused.
Re: Tired of explaining Linux's seemingly obtuse memory usage to confused newbies?
#15The title of the link (unlike the linked page) suggests that Linux is somehow to blame here... Why? Using RAM for disk caching is a good thing . Besides, this technique is employed by Windows as well. It's just that the average Windows user probably doesn't know how much free RAM his PC has (well, the really average user doesn't know how much total RAM it has). My Windows 7 box takes at least 2GB of memory to itself…
Re: Tired of explaining Linux's seemingly obtuse memory usage to confused newbies?
#16So basically the same thing Vista was doing (prefetch, and admittedly it did a shitty job with >1GB ram), except since its Linux, Oh its all fine guys, we won't destroy the OS' reputation.
Linux has been doing this for a lot longer than Windows has. (Which I only actually know because there was so much FUD about Vista's pre-fetching when it came out.) edit: Sorry, getting prefetching and SuperFetch confused.
What Vista does is SuperFetch and I don't think it's there in Linux even now, except that someone wrote a program that would do a similar thing but it's not really used that much.
Re: Tired of explaining Linux's seemingly obtuse memory usage to confused newbies?
#17So basically the same thing Vista was doing (prefetch, and admittedly it did a shitty job with >1GB ram), except since its Linux, Oh its all fine guys, we won't destroy the OS' reputation.
Re: Tired of explaining Linux's seemingly obtuse memory usage to confused newbies?
#18So basically the same thing Vista was doing (prefetch, and admittedly it did a shitty job with >1GB ram), except since its Linux, Oh its all fine guys, we won't destroy the OS' reputation.
Right, the only thing wrong with Windows Vista was its RAM caching strategy.
See http://www.codinghorror.com/blog/2006/09/why-does-vista-use-...
Re: Tired of explaining Linux's seemingly obtuse memory usage to confused newbies?
#19The title of the link (unlike the linked page) suggests that Linux is somehow to blame here... Why? Using RAM for disk caching is a good thing . Besides, this technique is employed by Windows as well. It's just that the average Windows user probably doesn't know how much free RAM his PC has (well, the really average user doesn't know how much total RAM it has). My Windows 7 box takes at least 2GB of memory to itself…
Windows started doing disk caching with Vista and users certainly noticed and complained in much the same way.
Re: Tired of explaining Linux's seemingly obtuse memory usage to confused newbies?
#20Wouldn't it make more sense to just include the RAM used for disk-caching when calculating free memory? After all, the whole reason it's being used for disk-caching in the first place is that it's free! The Linuxoids that know what this even means can always explicitly look for the line that says how much memory is being used for caching...
(The pages must be zeroed to avoid the security problem of snooping on data you might not have access to.)