Peng Du <imdup...@gmail.com> 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:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de (uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code