debloat-testing loadlatency test

Felix Fietkau nbd at openwrt.org
Tue Mar 22 23:07:30 EDT 2011


On 2011-03-23 12:59 AM, Felix Fietkau wrote:
> On 2011-03-22 2:13 AM, Dave Täht wrote:
>> Jonathan Morton <chromatix99 at gmail.com> writes:
>> 
>>> On 21 Mar, 2011, at 4:45 pm, Dave Täht wrote:
>>>
>>>> I aborted the test when I got up this morning.
>>>
>>> Yes, it looks as though it may have got stuck, possibly on a
>>> partly-mitigated race condition I found.  A full test run should never
>>> take that long, as there is an override condition which forces a
>>> scenario to complete after about 10 minutes.
>> 
>> I was looking over rngs a little today, it looked like drand48_r would
>> be threadsafe... 
> Made a version using a user space port of freebsd's arc4random instead
> of gsl.
> http://nbd.name/gitweb.cgi?p=loadlatency.git;a=summary
> git://nbd.name/loadlatency.git
> If any of you want write access to that repository, just send me an SSH key.
Update: used Bob Jenkins' public domain rand.c instead - on my machine
the result is about twice as fast as the gsl random function.

- Felix



More information about the Bloat-devel mailing list