|
|
About
TODO
Blog
RSS
Old blog
Projects
Gallery
Notes
Mon, 08 Jan 2007
New kevent 'take31' release.
Short changelog:
- AIO state machine
aio_sendfile() implementation
- moved
kevent_user_get/kevent_user_put into header
- use
*zalloc where needed
aio_sendfile() is implemented as described
here,
except destructor callbacks,
which are essentially the same, except that they reschedule AIO processing.
Benchmarks of simple sendfile() vs. aio_sendfile() did not show noticeble
win of any approach, but I want to notice, that my receiving side is
not that best in my case (I managed to create a test where usual
sendfile() stuck until signal received, the same hapend with aio_sendfile()
too, but the latter can be buggy).
It would be good to use it in lighttpd (I will create a patch after
some feedback received and approach will be considered as good.
AIO state machine is a base for network AIO (which becomes
quite trivial), but I will not start implementation until
roadback of kevent as a whole and AIO implementation become more clear.
Patches and userspace test application are available in archive
from kevent homepage.
/devel/kevent :: Link / Comments (0)
Merry Christmas!
Although it was yesterday, we celebrated Christmas and Mephody's moving from Moscow to Limerick, Ireland.
We sat first in "5 oborotov" on Sadovaya-Triumfalnaya,
where Schtrom's family, Lyasha with wife and old Mephody's friend Andrew with wife
joined us. We sat there upto 24, and then moved to the next bar - eventually we landed
in "Aero cafe" on Pokrovka, where spent the whole night and moved home around 6 A.M.
What I got from that time besides good time with old friends,
is strong feeling that the most interesting and fun moments always happen when I'm drunk.
I do not know why.
And that I am too old for modern electronic music and clubs.
And it looks like I finally tired of drinking - and since Meph returned to Ireland
and all others are so inert to get them to restaurant, eventually no new adventures
are on the nearest horizon, so I can concentrate on hacking (which happend actully only
couple of times this year), climbing, flat development and other healthy things.
/life :: Link / Comments (0)
|