Jump to content
ethraza

Asynchronous IO on Mandriva

Recommended Posts

To everyone looking for Async IO librarys on Mandriva Linux, provided by libaio, here is the rpm package with the latest version found on rpmfind.net.

I builded this on Mandriva LE2005, but probabaly works on any Linux.

 

This library is the devel library to async io on 2.6 kernels. It can be used, for example, with Oracle to access the filesystem asynchronous, what is a very nice thing.

 

It is easy to build from the source (unpack,make,make install), but the rpm is more easy. :D

 

Download the file from my server and do as root:

rpm -ivh libaio-0.3.104-1mdk.i586.rpm

rpm -ivh --nodeps libaio-devel-0.3.104-1mdk.i586.rpm

 

If you want to test the aio on you system, download the aio-stress test tool and do as root:

gcc -Wall -laio -lpthread -o aio-stress aio-stress.c

 

And run as root (It will play with a 300MB file using Async IO):

./aio-stress -s 300 -m -S -l -L -t 10 file1

 

---

 

RPM:

 

http://www.ghsix.com.br/allan/linux/rpm/li...4-1mdk.i586.rpm

 

http://www.ghsix.com.br/allan/linux/rpm/li...4-1mdk.i586.rpm

 

SRC:

http://www.ghsix.com.br/allan/linux/rpm/li...04-1mdk.src.rpm

 

TOOL:

http://www.ghsix.com.br/allan/linux/aio-stress.c

 

--

 

And go relink or recompile your application to use aio. B)

Edited by ethraza

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...