Re: [PATCH 0/2] Proposed LFSR implementation

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

 



On Fri, Mar 08 2013, Alex Pyrgiotis wrote:
> Hi Jens and list,
> 
> Due to the open-source nature of fio, I figured I'd share with you
> something I've created while working on Archipelago[1], a storage
> backend for synnefo[2] VMs.
> 
> We wanted to have an entity that can do random permutations fast, so
> we've created an XNOR Galois LFSR (more details about the implementation
> in the following patches) that should perform "better" than the generic
> one for I/O related tasks.
> 
> By "better", I don't mean only in terms of speed - since by definition
> LFSRs are insanely fast - but also in terms of their properties as
> PRNGs. The main issue with LFSRs that can't make them a serious
> candidate for I/O tasks is that due to their shifting nature, they
> cannot produce a sequence of numbers that differs widely from one to the
> next. This implementation should tackle this problem and should make
> LFSRs promising candidates at least for randrepeat jobs.
> 
> I actually went one step further and tested this implementation against
> the TESTU01 suite. A generic LFSR fails all the tests as expected, but
> this LFSR passes 3 to 5 out the 10 entry level tests of the suite. This
> shows that they are far from suitable as stand-alone PRNGs for
> cryptography, but should be pretty decent for I/O tasks.
> 
> Anyways, hopefully you will find this patch set interesting for
> inclusion in your code. If you have any questions, feel free to ask.

This is good stuff! It is indeed far superior to the existing lfsr
implementation. I'll get this queued up for inclusion. Thanks a lot.

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux