2000req/sec with RTL8169



Hi,

I administrate a FreeBSD 6-STABLE server with a RTL8169 network card
which has 64k buffer for incoming packets. We get about 2000req/sec on
our service which results in about 12-15k packets/sec in and out.
Packets are about 100-600 bytes.

After not using an SMP kernel (it locked up with interrupt) I get about
9-10k interrupts on the re0 interface which works okay until the point
where the CPU will do something else (monitoring getting triggered for
example) resulting in input errors etc. The service producing the
traffic is not very CPU hungry. Seems like the system will not do much
more using interrupt.

I tried using polling enabled with HZ=1000 set in the kernel
configuration but this leads to the system hanging after a while with
pings coming through sometimes, so it seems it gets a lot of packetloss.
Did the same with SMP enabled. Are there any sysctl setting or any hints
which I could use to get polling to work?

Unfortunally I don't have the choice to use a better network card and
the server only has remote access :-/.

greetings,
philipp



_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Diagnose co-location networking problem
    ... it was from the client. ... Actually there's significant indication of lost packets and clues that ... 540 retransmit timeouts ... are you using any packetfiltering on the server? ...
    (freebsd-net)
  • Re: Improving FreeBSD NFS performance (esp. directory updates)
    ... >> I don't think the network is at fault, nor is the server really going ... 155645171 data packets ... discarded for bad header offset fields ... 790 connections established ...
    (freebsd-questions)
  • Re: IP Spoofing
    ... That would be enough if the purpose of the request was e.g. to delete a database by SQL injection. ... You would not need to keep it in 7 packets, merely to send in a TCP window - pretty large these days, BUT you would also need to cut in on an existing ESTABLISHED session. ... it is quite possible to send packets to the server without anything. ...
    (comp.lang.php)
  • Re: IP Spoofing
    ... That would be enough if the purpose of the request was e.g. to delete a database by SQL injection. ... You would not need to keep it in 7 packets, merely to send in a TCP window - pretty large these days, BUT you would also need to cut in on an existing ESTABLISHED session. ... it is quite possible to send packets to the server without anything. ...
    (comp.lang.php)
  • Re: CORE-2004-0705: Vulnerabilities in PuTTY and PSCP
    ... difficult to exploit w/o modifying source for an ssl server. ... packets, got hexdumps of the packets, wrote a prog to pretend to be an ssl ... or build packets with the ssl functions used in putty.. ... Vulnerabilities in PuTTY and PSCP ...
    (Vuln-Dev)