[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] RFC: tests too slow?



Wouter,

--On 9 June 2011 16:44:08 +0200 Wouter Verhelst <w@...112...> wrote:

As long as the tests don't start taking hours, we'll be fine. A few
minutes isn't a big issue.

OK, great.

The only other one I was half planning to add was another integrity
test using midsize writes - i.e. many sectors, but not larger than the
normal write size. With the write-ordering stuff turned on (as it
is by default) you get very low queue depths with the 'huge' integrity
tests as there is such a high percentage chance of overlapped writes.
With the tiny writes, you get big queue depths but practically no
overlap, as overlap is statistically unlikely (and even in the
dbench capture I did, it doesn't read stuff it's written before
because it's all in cache, so whilst it's a good performance test
it isn't a fantastic integrity test). This is just a matter of tweaking
maketr to produce some smaller records and perhaps deliberately
introduce a bit of overlap, as there is more chance of servers
disordering reads/writes if they are of different sizes and thus
take different times. No code changes to nbd-tester-client.

--
Alex Bligh



Reply to: