LucidDB / luciddb

DEFUNCT: See README
https://github.com/LucidDB/luciddb
Apache License 2.0
53 stars 24 forks source link

[FRG-279] add system parameter for controlling AIO implementation #593

Closed dynamobi-build closed 12 years ago

dynamobi-build commented 12 years ago

[reporter="jvs", created="Tue, 10 Jul 2007 13:31:21 -0500 (GMT-05:00)"] Currently it is automatic (on Linux, based on the presence of libaio.so; on Windows always AIO).

dynamobi-build commented 12 years ago

[author="jvs", created="Thu, 11 Oct 2007 15:34:59 -0500 (GMT-05:00)"] Implemented in eigenchange 9997. See deviceSchedulerType in http://docs.eigenbase.org/FarragoSystemParameters.

dynamobi-build commented 12 years ago

[author="jvs", created="Thu, 11 Oct 2007 15:52:15 -0500 (GMT-05:00)"] To check whether libaio is actually being used, find the process ID, and then look in the special file

/proc//maps

and search for libfennel_device_aio.so

(Future improvement is to log warnings in cases where fallback to threadpool was used, and provide a way to query the actual implementation chosen.)