2010-05-10 05:58, Bob Friesenhahn skrev:
On Sun, 9 May 2010, Edward Ned Harvey wrote:

So, Bob, rub it in if you wish. ;-) I was wrong. I knew the behavior in
Linux, which Roy seconded as "most OSes," and apparently we both
assumed the
same here, but that was wrong. I don't know if solaris and opensolaris
both
have the same swap behavior. I don't know if there's *ever* a situation
where solaris/opensolaris would swap idle processes. But there's at least
evidence that my two servers have not, or do not.

Solaris and Linux are different in many ways since they are completely
different operating systems. Solaris 2.X has never swapped processes. It
only sends dirty pages to the paging device if there is a shortage of
pages when more are requested, or if there are not enough free, but
first it will purge seldom accessed read-only pages which can easily be
restored. Zfs has changed things up again by not caching file data via
the "unified page cache" and using a specialized ARC instead. It seems
that simple paging and MMU control was found not to be smart enough.

Bob

Sorry, but this is incorrect.

Solaris (2 if you will) does indeed swap processes in case normal paging is deemed insufficient.

See the chapters on Soft and Hard swapping in:

http://books.google.com/books?id=r_cecYD4AKkC&pg=PA189&lpg=PA189&dq=solaris+internals+swapping&source=bl&ots=oBvgg3yAFZ&sig=lmXYtTLFWJr2JjueQVxsEylnls0&hl=sv&ei=JbXnS7nKF5L60wTtq9nTBg&sa=X&oi=book_result&ct=result&resnum=4&ved=0CCoQ6AEwAw#v=onepage&q&f=false
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to