Peng Du <[email protected]> wrote:

> Hello, experts
>
> I have a question about syscall "madvise" 
> (http://docs.sun.com/app/docs/doc/816-5168/madvise-3c?a=view). I want to know 
> whether MADV_WILLNEED  and MADV_DONTNEED will affect pageout decisions. In my 
> intuition, page scanner should try to keep MADV_WILLNEED pages in physical 
> memory, and prefer MADV_DONTNEED pages for swapping out. 

I tried to use this 10 years ago in order to make star faster to no avail.
I would like to see a way to tell Solaris to do read aheads but to remove 
anything from the cache after it was read once.

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to