when is swap allocated
I was just wondering when/why swap space is used. I rooted around a bit in the various sources of documentation, but didn't find what I was looking for. The reason I ask is that swap is very rarely used on my system. Most of the time, the results of free look like this: total used free sharedbuffers cached Mem:128300 125204 3096 91920 2784 61060 -/+ buffers/cache: 61360 66940 Swap: 273024 4344 268680 Maybe I should be glad that there is little need on my system for swap, but I'm a little surprised and worried that something is not set properly. Thanks. -- Brian J. Stults Doctoral Candidate Department of Sociology University at Albany - SUNY Phone: (518) 442-4652 Fax: (518) 442-4936 Web: www.albany.edu/~bs7452
Re: when is swap allocated
On Fri, 21 Jan 2000, Brian J. Stults wrote: I was just wondering when/why swap space is used. I rooted around a bit in the various sources of documentation, but didn't find what I was looking for. The reason I ask is that swap is very rarely used on my system. Most of the time, the results of free look like this: total used free sharedbuffers cached Mem:128300 125204 3096 91920 2784 61060 -/+ buffers/cache: 61360 66940 ^ Why should the kernel use the swap, if more then half of your memory is unused? Swap: 273024 4344 268680 Maybe I should be glad that there is little need on my system for swap, but I'm a little surprised and worried that something is not set properly. There is nothing to wory about (my $0.20). Martin -- This is Linux Country. In a quiet night, you can hear Windows reboot. For public PGP-key: finger [EMAIL PROTECTED]
AW: when is swap allocated
Well from my point of view, I'd say be glad. And it is not so surprising. I've got three machines running Linux and one Windows NT-System - all of them with 128 Megs of RAM and - surprise surprise - the only PC that does swapping is the windows NT system. Linux has a great advantage in Memory-Usement over most other Desktop (and even some Server) OSes So you propably shouldn't bother - besides there is rarely anything you could do about the way your System uses his swap-space. This is part of the memory-management in the kernel and it's mostly written in assembly. Feel good about it... chris +-+ | chris | | --- | | database design programming | | agentur fiedler / video.de| | | | [EMAIL PROTECTED] | +-+ -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 21. Januar 2000 18:56 An: debian Betreff: when is swap allocated I was just wondering when/why swap space is used. I rooted around a bit in the various sources of documentation, but didn't find what I was looking for. The reason I ask is that swap is very rarely used on my system. Most of the time, the results of free look like this: total used free sharedbuffers cached Mem:128300 125204 3096 91920 2784 61060 -/+ buffers/cache: 61360 66940 Swap: 273024 4344 268680 Maybe I should be glad that there is little need on my system for swap, but I'm a little surprised and worried that something is not set properly. Thanks. -- Brian J. Stults Doctoral Candidate Department of Sociology University at Albany - SUNY Phone: (518) 442-4652 Fax: (518) 442-4936 Web: www.albany.edu/~bs7452 -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: when is swap allocated
that is perfectly normal, linux is incredibly efficient at using memory. my main server has been up almost 6 months and is used _a lot_. and my mem stats: total used free sharedbuffers cached Mem:127544 119664 7880 100528 6016 34736 -/+ buffers/cache: 78912 48632 Swap: 261496 7604 253892 dont expect mem usage to go too high unless your doing extreme stuff..i keep a lot of swap for emergencies. incase a process gets outta control i got plenty of room .. nate On Fri, 21 Jan 2000, Brian J. Stults wrote: bs7452 I was just wondering when/why swap space is used. I rooted around a bit bs7452 in the various sources of documentation, but didn't find what I was bs7452 looking for. The reason I ask is that swap is very rarely used on my bs7452 system. Most of the time, the results of free look like this: bs7452 bs7452 total used free sharedbuffers bs7452 cached bs7452 Mem:128300 125204 3096 91920 2784 bs7452 61060 bs7452 -/+ buffers/cache: 61360 66940 bs7452 Swap: 273024 4344 268680 bs7452 bs7452 bs7452 Maybe I should be glad that there is little need on my system for swap, bs7452 but I'm a little surprised and worried that something is not set bs7452 properly. bs7452 bs7452 bs7452 Thanks. bs7452 -- bs7452 bs7452 Brian J. Stults bs7452 Doctoral Candidate bs7452 Department of Sociology bs7452 University at Albany - SUNY bs7452 Phone: (518) 442-4652 Fax: (518) 442-4936 bs7452 Web: www.albany.edu/~bs7452 bs7452 bs7452 bs7452 -- bs7452 Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null bs7452 [mailto:[EMAIL PROTECTED] ]-- Vice President Network Operations http://www.firetrail.com/ Firetrail Internet Services Limited http://www.aphroland.org/ Everett, WA 425-348-7336http://www.linuxpowered.net/ Powered By:http://comedy.aphroland.org/ Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/ -[mailto:[EMAIL PROTECTED] ]-- 12:55pm up 155 days, 59 min, 2 users, load average: 1.88, 1.68, 1.62