[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sort: Parallel merging
From: |
Chen Guo |
Subject: |
Re: sort: Parallel merging |
Date: |
Wed, 17 Feb 2010 17:02:25 -0800 (PST) |
Oh forgot to mention... It's also more system calls to write
to temporary files in RAM, as opposed to just copying structs
to pointers.
Also, with a small buffer, there'd be many more calls to fillbuf,
which does involve talking to the original input file on disk, and
the seek times of the many smaller reads will kill you, as
opposed to with a bigger buffer you'd do fewer seeks to read
more of the file in at once.