Hi folks,

I'm planning on adapting nsvhr to do reverse-proxying based on the url of a
request, so different parts of one site can run on different machines.

Because they are on different machines, I will have to use nssock rather
than nsunix. On the comparison page
http://www.theashergroup.com/tag/articles/reverse-proxies/vhr-benchmarks_files/connection-performance
it shows nsvhr/nssock coming somewhere in the middle of nsvhr/nsunix (which
is at the top) and Apache (although according to Jerry, this was a
comparison with Apache 1.X).

Out of interest, has anyone benchmarked AOLserver 4.0b2 with nsvhr against
Apache 2.0 and mod_proxy?

Also, what are your strategies for increasing the performance of nsvhr? I
found some interesting stats on
http://www.spec.org/osg/web99/results/res2000q4/web99-20001127-00077.asc -
admittedly it isn't AOLserver (it's TUX), but the Linux O/S tweaks look like
they might come in handy. Here's an excerpt:

    net.ipv4.tcp_timestamps = 0, turns TCP timestamp support off, default on
    net.ipv4.tcp_sack = 0, turns SACK support off, default on
    net.ipv4.tcp_window_scaling = 0, turn TCP window scaling support off,
default on
    net.ipv4.tcp_max_tw_buckets = 2000000, sets TCP time-wait buckets pool
size, default 180000
    net.ipv4.tcp_mem = 100000000 100000000 100000000, maximum total TCP
buffer-space allocatable.
    net.ipv4.tcp_wmem = 100000000 100000000 100000000, maximum TCP
write-buffer space allocatable.
    net.ipv4.tcp_rmem = 30000000 30000000 30000000, maximum TCP read-buffer
space allocatable.
    net.ipv4.ip_local_port_range = 16384 65536, default 32768 61000
    net.core.hot_list_length = 102400, maximum number of skb-heads to be
cached, default 128
    net.core.optmem_max = 10000000, maximum amount of option memory buffers.
    net.core.rmem_max = 10485760, maximum receive socket buffer size,
default 65535
    net.core.wmem_max = 10485760, maximum send socket buffer size, default 65535
    net.core.rmem_default = 10485760, default receive socket buffer size,
default 65535
    net.core.wmem_default = 10485760, default send socket buffer size,
default 65535

I have no idea what effect any of these options might have on nsvhr
performance or AOLserver performance in general, but I am interested in
getting the most performance out of my limited hardware and would welcome
any insights you people have.

Regards,
Jason Saunders

Reply via email to