lkml.org 
[lkml]   [2011]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] percpu_counter: Put a reasonable upper bound on percpu_counter_batch
On Fri, Aug 26, 2011 at 07:48:52AM -0400, Theodore Tso wrote:
>
> I understand why we would want to reduce this number. Unfortunately, the
> question is what do we do if all 1024 threads try to do buffered writes into
> the file system at the same instant, when we have less than 4 megabytes
> of space left?

Oops, sorry, that should be 4 GB of space left (i.e., what do we do if
all 1024 cpu's all try write 1024 4k blocks all at the same time).
Imagine an simulation application where all threads finish at more or
less the same time and then try to write out their data files at the
same time....
- Ted


\
 
 \ /
  Last update: 2011-08-29 15:29    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site