I'd guess that it's either a difference in the UBC of both systems or due to less fs activity on the NetBSD system. It's also possible you have some stuff in /tmp which on Solaris is memory based by default, but perhaps not so on NetBSD. At first those files will be in RAM, but if a process needs that memory, it gets bumped to swap and that top output is what you see after the process goes away.

If you're concerned about swapping, better to look at vmstat output than top. Top provides a nice overview of what is happening, but other details are necessary to really tell if something Bad is happening, and comparing OS's based on top output doesn't provide an accurate picture.

-f
http://www.blackant.net/

On Thu, 10 Mar 2005 [EMAIL PROTECTED] wrote:

Greetings, I'm running Solaris 10 release on my Ultra 10 and I've noticed it tends to swap a lot, even though I have plenty of RAM

Below is the memory usage from running 'top', I don't really understand why it's resorting to using swap when there is plenty of free memory. I have slow hard disks on this system and would like to restrict swapping to a minimum.

Memory: 512M real, 222M free, 127M swap in use, 1186M swap free

To contrast, if I boot this machine into NetBSD-2.0 and run similar sets of tasks, NetBSD never uses swap, there is plenty of RAM and NetBSD handles it very efficiently.

My question is, is there a way to tune Solaris to prevent it from swapping all the time?
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to