Re: OFFTOPIC: Regarding NT vs Linux

John Kodis (kodis@jagunet.com)
Tue, 23 Sep 1997 07:41:49 -0400


> On the other hand, [touching each page in the mmap'd file space]
> will first pagefault as fast as possible, allowing the drive to get
> all pages in one go, and then write the data from memory.

... unless the file is too big to fit into memory, in which case it
gets paged in, swapped out, and paged back in again -- highly
non-optimal.

The mmap trick looks like it's one technique that could be used to
impliment a Linux copy_file call, rather than a complete substitute
for such a call.

It would be nice to implement such a thing, if only because as it
currently stands this looks like about the only area where NT has a
potential performance advantage over Linux. That just won't do!

-- John Kodis.