linux-btrace.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* -b vs. -n
@ 2009-01-29 21:28 Alan D. Brunelle
  2009-01-30  7:42 ` Jens Axboe
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Alan D. Brunelle @ 2009-01-29 21:28 UTC (permalink / raw)
  To: linux-btrace

Has anybody experimented with increasing the _number_ of buffers rather
than the _size_ of the buffers when confronted with drops? I'm finding
on a large(ish) system that it is better to have lots of small buffers
handled by relay rather than fewer larger buffers. In my particular case:

16 CPUs
96 devices
running some dd's against all the devices...

-b 1024 or -b 2048 still results in drops

but:

-n 512 -b 16 allows things to run smoother.

I _think_ this may have to do with the way relay reports POLLIN: it does
it only when a buffer switch happens as opposed to when there is data
ready. Need to look at this some more, but just wondering if others out
there have found similar things in their testing...

Alan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-02-02 20:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-29 21:28 -b vs. -n Alan D. Brunelle
2009-01-30  7:42 ` Jens Axboe
2009-01-30 12:59 ` Alan D. Brunelle
2009-02-02 14:09 ` Alan D. Brunelle
2009-02-02 20:53 ` Alan D. Brunelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).