James Andrewartha <jam...@daa.com.au> wrote: > Joerg Schilling wrote: > > I would be interested to see a open(2) flag that tells the system that I > > will > > read a file that I opened exactly once in native oder. This could tell the > > system to do read ahead and to later mark the pages as immediately > > reusable. > > This would make star even faster than it is now. > > Are you aware of posix_fadvise(2) and madvise(2)?
I am of course aware of madvise since December 1987 but this is an interface that does not play nicely with a highly portable program like star. posix_fadvise seems to be _very_ new for Solaris and even though I am frequently reading/writing the POSIX standards mailing list, I was not aware of it. >From my tests with star, I cannot see a significant performance increase but >it may have a 3% effect........ 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 _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss