News for hackers. Stuff that matters.
Re:Benchmarking High Performance I/O with SSD for Cassandra ... by __alexs on Thursday July 19, 2012 @06:19AM (#4265309)
> It's not a good idea to scale disk writes using threads when you can use aio

Last I checked (at least a couple of years ago admittedly) glibcs POSIX aio_* implementation was implemented using threads despite kernel support for it.

Re:Benchmarking High Performance I/O with SSD for Cassandra ... by wmf on Thursday July 19, 2012 @12:18PM (#4266689)
But there is a (nearly undocumented) native Linux AIO API.
Re:Benchmarking High Performance I/O with SSD for Cassandra ... by Xorlev on Thursday July 19, 2012 @12:42PM (#4266839)
And that's better?
Re:Benchmarking High Performance I/O with SSD for Cassandra ... by wmf on Thursday July 19, 2012 @01:37PM (#4267118)
It is better in the sense that it is actual AIO. Whether you want AIO so badly that you're willing to suffer the lack of docs is a case-by-case decision.
Re:Benchmarking High Performance I/O with SSD for Cassandra ... by mvgoogler on Thursday July 19, 2012 @01:38PM (#4267124)
Yes. The io_submit based async io API is much better, especially if you are doing lots of iops.