Re: little cp diff

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bob Beck
Date: Saturday, February 6, 2010 - 11:32 am

> We're already seeing problems just making the buffer cache bigger.

While yes, I agree the buffer cache could potentially do better on
read/write ahead, this also
involves the various midlayers and disksort, and potentially being
able to use more than 64K io's


Realisticly if cp can be a bit smarter, where's the loss here folks -
even with a smarter buffer cache, userland in this case knows what
it's going to do and doing it smarter is always going to work better -
because the kernel gets more and better hints about what's actually
going on.

To take it to the extreme in the other direction, should I implement
cp as one byte reads and writes, and expect the kernel to optimize my
idiocy away? of course not.  Ted's idea here is not so bad.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
little cp diff, Ted Unangst, (Fri Feb 5, 7:24 pm)
Re: little cp diff, Otto Moerbeek, (Sat Feb 6, 5:32 am)
Re: little cp diff, Mark Kettenis, (Sat Feb 6, 6:44 am)
Re: little cp diff, Ted Unangst, (Sat Feb 6, 7:14 am)
Re: little cp diff, Otto Moerbeek, (Sat Feb 6, 7:53 am)
Re: little cp diff, Vadim Zhukov, (Sat Feb 6, 8:27 am)
Re: little cp diff, Bob Beck, (Sat Feb 6, 9:45 am)
Re: little cp diff, Ted Unangst, (Sat Feb 6, 10:58 am)
Re: little cp diff, Bob Beck, (Sat Feb 6, 11:32 am)
Re: little cp diff, Otto Moerbeek, (Sat Feb 6, 11:35 am)
Re: little cp diff, Claus Assmann, (Sat Feb 6, 11:37 am)
Re: little cp diff, Claudio Jeker, (Sat Feb 6, 11:42 am)
Re: little cp diff, Bob Beck, (Sat Feb 6, 11:45 am)
Re: little cp diff, Bob Beck, (Sat Feb 6, 11:49 am)
Re: little cp diff, Ted Unangst, (Sat Feb 6, 8:42 pm)