hi, mschulte Thank you for your help. Maybe I did not describe my question clear, I mean that if Solaris kaio does not support socket operation, it will create many user thread to simulate the asynchronous operations. I think the simulation is not a high performance way, so I will give up aio model, I'd rather use standard block socket interface (recv, send).
I did truss -t kaio,lwp_create as root and got the follow result: /1: kaio(AIOREAD, 4, 0x0041F3D4, 4, 0x0041F3C000000000) Err#81 EBADFD /4: lwp_create() (returning as new lwp ...) = 0 /1: lwp_create(0xFFFFFD7FFFDFF7B0, LWP_DAEMON|LWP_DETACHED|LWP_SUSPENDED, 0xFFFFFD7FFFDFF7AC) = 5 /5: lwp_create() (returning as new lwp ...) = 0 /1: lwp_create(0xFFFFFD7FFFDFF7B0, LWP_DAEMON|LWP_DETACHED|LWP_SUSPENDED, 0xFFFFFD7FFFDFF7AC) = 6 /6: lwp_create() (returning as new lwp ...) = 0 ... ... many lwp_create was called. This message posted from opensolaris.org _______________________________________________ perf-discuss mailing list [email protected]
