Im no kernel expert, but it seems to me that linux memory paging works as you'd expect it to, unlike windows NT. Linux seems to be very good at keeping physical memory usage at 90% regardless of what you have open ( the unused memory is probably cached becuase its likely you will use it again ), and swap usage near zero as much as possible. NT however used to do some strange things with swap, and wouldnt boot without a swap file present. Recently I dont think its that bad, but it still seems to be constantly writing stuff to swap, and thats not the behavior I expect from a 512mb machine.
With 256mb of physical memory I could get up to 30% usage of swap with enough apps open, but now that I have 512mb I have yet to touch the swap partition. On my 384mb machine, I would also get 0% swap usage. Cheers, Ryan On Thu, 2003-05-29 at 08:05, Shaw, Marco wrote: > I've been seeing quite a bit of page in/page out going on, and have been looking > around. > > With the 2.4 kernel, when would one expect to see swap usage? I'm assuming the 2.4 > memory works a bit like Solaris where one should expect to see physical memory usage > relatively high, and that's a good/normal thing, but I don't see any swap > utilization at all, which concerns me. I may have misconfigured something... > > # free > total used free shared buffers cached > Mem: 3874464 3843256 31208 0 381844 3084184 > -/+ buffers/cache: 377228 3497236 > Swap: 2048248 0 2048248 > > # sar -r > Linux 2.4.18-18.7.xbigmem 05/29/2003 > > 12:00:00 AM kbmemfree kbmemused %memused kbmemshrd kbbuffers kbcached kbswpfree > kbswpused %swpused > 12:10:00 AM 33956 3840508 99.12 0 381020 3085476 2048248 > 0 0.00 > > # swapon -s > Filename Type Size Used Priority > /dev/sda6 partition 2048248 0 -1 > > # more /etc/fstab > LABEL=/ / ext3 defaults 1 1 > LABEL=/boot /boot ext3 defaults 1 2 > none /dev/pts devpts gid=5,mode=620 0 0 > LABEL=/home /home ext3 defaults 1 2 > none /proc proc defaults 0 0 > none /dev/shm tmpfs defaults 0 0 > LABEL=/tmp /tmp ext3 defaults 1 2 > LABEL=/usr /usr ext3 defaults 1 2 > LABEL=/var /var ext3 defaults 1 2 > /dev/md0 /hosting ext3 defaults,usrquota 0 0 > /dev/sda6 swap swap defaults 0 0 > /dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 > 0 > /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 > > > # sar -B > Linux 2.4.18-18.7.xbigmem 05/29/2003 > > 12:00:00 AM pgpgin/s pgpgout/s activepg inadtypg inaclnpg inatarpg > ... > Average: 0.02 55.34 561672 225090 115799 180512 > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list