|
|
About ::
TODO ::
Blog ::
RSS ::
Old blog ::
Projects ::
GIT ::
Gallery ::
Notes
Tue, 08 May 2007
Unified socket storage.
I've just released a second patchset which implements unified cache of sockets for
network instead of old hash tables. It stores all types of sockets
(although I only implemented af_inet, unix, netlink and raw ones for now)
in single object structure called multidimensional trie (which is
similar to judy array in some way).
I performed simple performance test with handmade client and httperf.
The former is just epoll driven client which issues requested number of
requests one-by-one (or with some concurrency, which does not yet proven
to work correctly).
With mpm apache on test machine I got sustained 2k/s requests for mdt
and about 1200/s for (untuned) hash. With lighttpd and httperf
(10k max, 1k rate) I got sustained 1k/s for mdt and 550-1000/s for
untuned hash. With tuned hash (thash_entries=1000000) I got both 1k/s,
with 30k max, 3k rate httperf I got 1650 for mdt and 1k for tuned hash.
Server was with lighttpd 1.4.13. (handmade server as long as
'echo -en "GET / HTTP/1.0\n\n" | nc server 80' does not work due to
unknown reason, I did not investigate).
Results are quite small for that machine (amd athlon64 3500+ with 1gb of
ram and gigabit r8169 adapter), but I have all debug options turned on
(including heavy slab/vm).
Patch has been sent to @netdev
for review. I asked about discussion about future of this project before making
any further steps (mainly statistics code).
/devel/networking :: Link / Comments (0)
Linux and pornography.
Short translation of the msot interesting parts of Moscow militia cief officier lieutenant-general
Vladimir Pronin speech (in russian
and can be a hoax).
... if country officials decided to make users of unlicensed software
and murders and violators equal ...
... fact of the usage of Linux says that organisation has something to hide and
beware of checks ...
... Unfortunately, the fact of Linux installation itself is not a crime
according to russian laws...
... Linux usage is absolutely the same as pornography storing,
which is not a crime, but highly related areas like spreading ... and making
are absolutely illegal.
Since I'm a linux developer, so I'm equal to porno maker, so, if I will suddenly
stop blogging and/or answer mails - you know, I was arrested for very serious crime.
Getting into account that all partitions on my notebook are encrypted, I will not
leave a prison quite for a while.
P.S. Some people say it is a hoax, but I would not be much surprised, if it is not.
/devel/other :: Link / Comments (0)
|