Re: usage of os.posix_fadvise

2013-05-30 Thread Cameron Simpson
On 30May2013 17:54, Wolfgang Maier wrote: | Antoine Pitrou wrote: | >The Linux version of "man posix_fadvise" probably holds the answer: [...] | | Hi Antoine, | you're right and thanks a lot for this great piece of information. [...] | P.S.: Maybe these new os module features could use a bit mor

usage of os.posix_fadvise

2013-05-30 Thread Wolfgang Maier
Antoine Pitrou wrote: >Hi, >Wolfgang Maier biologie.uni-freiburg.de> writes: >> >> Dear all, >> I was just experimenting for the first time with os.posix_fadvise(), which >> is new in Python3.3 . I'm reading from a really huge file (several GB) and I >> want to use the data only once, so I don'

Re: usage of os.posix_fadvise

2013-05-29 Thread Antoine Pitrou
Hi, Wolfgang Maier biologie.uni-freiburg.de> writes: > > Dear all, > I was just experimenting for the first time with os.posix_fadvise(), which > is new in Python3.3 . I'm reading from a really huge file (several GB) and I > want to use the data only once, so I don't want OS-level page caching.

usage of os.posix_fadvise

2013-05-28 Thread Wolfgang Maier
Dear all, I was just experimenting for the first time with os.posix_fadvise(), which is new in Python3.3 . I'm reading from a really huge file (several GB) and I want to use the data only once, so I don't want OS-level page caching. I tried os.posix_fadvise with the os.POSIX_FADV_NOREUSE and with t