aio problem: consume 100% cpu

Robert Latham robl at mcs.anl.gov
Wed Jun 15 09:20:54 EST 2005


Hi

I have an application that makes use of asyncronous IO.  This code
works on x86, x86-64, ppc32, and alpha, so I'm pretty sure we're
calling the async IO routines correctly.  

On ppc64, however, after the async IO completes the application
consumes all available CPU until it exits (and since the application
is a server, that's indefinitely).

A while back someone reported a similar problem with
asyncronous IO:
http://lists.suse.com/archive/suse-programming-e/2004-Sep/0103.html
that url includes a link to "aiotest.c", which demonstrates the problem.

I'm testing on a YDL-4.0 machine with glibc-2.3.3-18.ydl.4

Thanks
==rob

-- 
Rob Latham
Mathematics and Computer Science Division    A215 0178 EA2D B059 8CDF
Argonne National Labs, IL USA                B29D F333 664A 4280 315B



More information about the Linuxppc64-dev mailing list