Question about atomic FIFO/LIFO queues

2020-09-25 Thread Ruslan Nikolaev

Hi

I came across this page 
https://wiki.netbsd.org/projects/project/atomic_fifo_lifo_queues/


Recently, we have designed a high-performant (and what is also very 
important -- truly lock-free -- not just "lockless") and memory 
efficient FIFO queue based on ring buffers that use FAA (fetch-and-add) 
and traditional M&S queue as an outer layer (for unbounded queues).


The queue, is in some sense, an improved version of LCRQ, the fastest 
lock-free FIFO queue previously available, but it does *not* require 
double-width CAS (cmpxchg16b) and we also made more memory efficient.


You can take a look at our recent paper:
http://drops.dagstuhl.de/opus/volltexte/2019/11335/pdf/LIPIcs-DISC-2019-28.pdf

C source code is also available: https://github.com/rusnikola/lfqueue

It seems like the new NetBSD network stack will require some new 
scalable multiprocessor data structures. We would be glad to discuss if 
our queue can potentially meet those needs.


From the page above, it seems you want to have FIFO+LIFO in the same 
package. It is probably possible to do that but how critical is this 
requirement? The reason I ask is because FIFO and LIFO need entirely 
different approaches for good performance, so I was wondering if that is 
a fundamental requirement.


Thanks,
Ruslan Nikolaev



Re: Sample boot.cfg for upgraded systems (rndseed & friends)

2020-09-25 Thread Rhialto
On Tue 22 Sep 2020 at 19:59:22 +0100, David Brownlee wrote:
> What would people think of installing an original copy of the etc set
> in /usr/share/examples/etc or similar - its 4.9M extracted and ~500K
> compressed and the ability to compare what is on the system to what it
> was shipped with would have saved me so much effort over the years :)

I think it already ends up in /.sysinst/etc ?

-Olaf.
-- 
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___  Anyone who is capable of getting themselves made President should on
\X/  no account be allowed to do the job.   --Douglas Adams, "THGTTG"


signature.asc
Description: PGP signature