On 11-Aug-07, at 9:19 AM, Guy Hulbert wrote:
On Sat, 2007-08-11 at 08:29 +0200, Hanno Hecker wrote:+ while (my $size = $fh->read(my $line, 4096)) {Is 4096 the file system block size ? Not every file system uses 4kthough it is a common default. I suspect that using the exact value forthe queue file system will give the best results.
In previous tests I've done with perl you're better off just trying to read about a megabyte at a time. Sounds strange, but try it.
Matt.