I know this is more of a general unix question, but the thread about the last kernel update, and memory usage got me to looking and thinking. Given a system with 2 Gb of memory, and at peak usage, top reports considerably less than the 2 gig amount in use, as well as system monitoring that never shows all available memory used, what would happen if you just turned swap off, and let memory handle things? This machine here, has now crept up to using just under 400mb of swap, yet I've never seen total memory usage above about 1.4gb. I'm a bit leary of just "swapoff" while the machine is running the weather model, as I'd hate to crash things, but I'm just wondering if turning off swap (assuming the system is actually using the disks) would break things or in the best case, speed things up. -- Sam W.Drinkard -- sam at wa4phy.net http://wa4phy.net Augusta Area Mesonet cell 706.825.8513 Home 706.868.7253 MAIL 4428 Branchwood Drive, Martinez Georgia, 30907-1304
I run without swap all the time, no problem unless you really do use all your physical memory. Brett On 6/5/06, Sam Drinkard <sam at wa4phy.net> wrote:> I know this is more of a general unix question, but the thread about the > last kernel update, and memory usage got me to looking and thinking. > Given a system with 2 Gb of memory, and at peak usage, top reports > considerably less than the 2 gig amount in use, as well as system > monitoring that never shows all available memory used, what would happen > if you just turned swap off, and let memory handle things? This machine > here, has now crept up to using just under 400mb of swap, yet I've never > seen total memory usage above about 1.4gb. I'm a bit leary of just > "swapoff" while the machine is running the weather model, as I'd hate to > crash things, but I'm just wondering if turning off swap (assuming the > system is actually using the disks) would break things or in the best > case, speed things up. > > -- > Sam W.Drinkard -- sam at wa4phy.net > http://wa4phy.net > Augusta Area Mesonet > cell 706.825.8513 Home 706.868.7253 > MAIL 4428 Branchwood Drive, > Martinez Georgia, 30907-1304 > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
On Monday 05 June 2006 2:18 pm, Sam Drinkard wrote:> I know this is more of a general unix question, but the thread about > the last kernel update, and memory usage got me to looking and > thinking. Given a system with 2 Gb of memory, and at peak usage, top > reports considerably less than the 2 gig amount in use, as well as > system monitoring that never shows all available memory used, what > would happen if you just turned swap off, and let memory handle things? > This machine here, has now crept up to using just under 400mb of swap, > yet I've never seen total memory usage above about 1.4gb. I'm a bit > leary of just "swapoff" while the machine is running the weather model, > as I'd hate to crash things, but I'm just wondering if turning off swap > (assuming the system is actually using the disks) would break things or > in the best case, speed things up.https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=188141