Zbr's days.

About :: TODO :: Blog :: RSS :: Old blog :: Projects :: GIT :: Gallery :: Notes

Thu, 21 Dec 2006

New netchannels release and scalability tests.


I've release version #19 of the netchannel subsystem, which contains API changes required to run userspace network stack.

This version contains locking bug which leads to crash on netchanel removal when a lot of them were created.

Scalability testing.
Script has created 22k wildcard (only one dimension (source address) is wildcard to save some mem) NAT rules (16k $rand.$rand.$rand.$rand/255.255.248.0 rules and 6k $rand.$rand.$rand.$rand/255.255.255.$rand).

I.e. it is equal to 22k following netfilter rules:

iptables -t nat -I POSTROUTING \
        -s $rand.$rand.$rand.$rand/255.255.248.0 \
	-d $static/$some_wildcard_mask \
	--sport $static_num/$some_wildcard_mask \
	--dport $static_num/$some_wildcard_mask \
	--proto $static_num/$some_wildcard_mask \
	-j SNAT --to-source $static_num
$static_num and $some_wildcard_mask are different on each line, but are the same for different commands.

Raw socket and netchannel send/recv performance over gigabit link is the same as described previously.

I can not test NAT processing speed itself (I do not have enough test machines :).

Userspace trie tests (described here) included 1-2 millions multidimensional wildcards insertions/searches.

/devel/networking :: Link / Comments ()