Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 21:54:22 -0400
From:      J David <j.david.lists@gmail.com>
To:        Daniel Ballenger <lpmusix@gmail.com>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: pf deadly slow
Message-ID:  <CABXB=RSA2AP2E0oNbwvBag0dNTfZLX34h_rW9s4zQVuHEGP6hw@mail.gmail.com>
In-Reply-To: <CANZqxwxV0J1nDwYNpnZ2ppBEjnQB=ncY3PFXiz3jExL%2B=mvEpA@mail.gmail.com>
References:  <524EBFDD.7090604@insa-lyon.fr> <CA%2B%2BfYEjTnShOo%2Bwm9Q07xc2M-NprkiDjLRL70gNUjW5LZFgSpw@mail.gmail.com> <524EDE9E.2010109@insa-lyon.fr> <524EDF5F.20601@egr.msu.edu> <CANZqxwxV0J1nDwYNpnZ2ppBEjnQB=ncY3PFXiz3jExL%2B=mvEpA@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Fri, Oct 4, 2013 at 6:20 PM, Daniel Ballenger <lpmusix@gmail.com> wrote:
> For what it's worth I'm running Freebsd 9.2-RELEASE on top of proxmox with
> the virtio network driver and don't have this issue (easily pushes over
> 100Mbps, doing over 60Mbps at the moment)

Have a look at your /var/log/kern.log, /var/log/messages, and
/var/log/syslog on the proxmox host.

If you enable TSO and PF on a FreeBSD KVM virtual machine with virtio
network drivers, PF will turn silently disable checksum offloading,
and the Linux side will complain about improper checksums with
complete kernel stack traces *on* *every* *packet*, to each file.
Your network throughput then becomes a function of your disk I/O
performance. :-/

The proxmox guys were going to patch out the log message, but even if
they have now done that, it only masks the problem, it doesn't solve
it.

It does sound like you may have this issue because before a local
kernel hack, we were also seeing about 100Mbps with TSO enabled.
Post-hack performance is approaching 700Mbps.  Not bad for a virtual
machine.


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABXB=RSA2AP2E0oNbwvBag0dNTfZLX34h_rW9s4zQVuHEGP6hw>