News for hackers. Stuff that matters.
Re:OpenZFS: Reducing ARC Lock Contention by barrkel on Monday March 23, 2015 @10:31PM (#9254558)
The batched log approach mentioned in the comments is also interesting. Possibly not directly applicable to cache page eviction policy where I expect the pressure to free up an old page to make space for data is more time-critical, but a useful model to keep in mind, alongside the probabilistic list sharding described in the article.
Re:OpenZFS: Reducing ARC Lock Contention by pstrateman on Monday March 23, 2015 @10:41PM (#9254594)
That's certainly an interesting approach.

It's got a maximum latency problem though.

If for some reason the unlucky thread that acquires the lock cannot process the batch faster than other threads are adding.... well that ends poorly

Re:OpenZFS: Reducing ARC Lock Contention by NovaX on Monday March 23, 2015 @11:28PM (#9254731)
That would require a write rate very atypical for a cache and easily mitigated, though largely an almost impossible scenario.