Re: Scenario to make recv(MSG_WAITALL) stuck

2011-06-14 Thread Mikolaj Golub
On Tue, 14 Jun 2011 12:23:03 +0300 Kostik Belousov wrote: KB> I do not understand what then happens for the recvfrom(2) call ? KB> Would it get some error, or 0 as return and no data, or something else ? It will wait for data below in another loop ("Now continue to read any data mbufs off of t

amd + NFS reconnect = ICMP storm + unkillable process.

2011-06-14 Thread Artem Belevich
Hi, I wonder if someone else ran into this issue before and, maybe, have a solution. I've been running into a problem where access to filesystems mouted with amd wedges processes in an unkillable state and produces ICMP storm on loopback interface.I've managed to narrow down to NFS reconnect, but

Re: strange igb interface performance problems

2011-06-14 Thread Jack Vogel
PS. My driver does not smell :), however if you want the 'freshest' smell possible maybe you should update to the version in STABLE/8 :) Jack On Tue, Jun 14, 2011 at 10:15 AM, Jack Vogel wrote: > Why do you have TSO off. If you run the same connection without the vlan > what do you see? > > J

Re: strange igb interface performance problems

2011-06-14 Thread Jack Vogel
Why do you have TSO off. If you run the same connection without the vlan what do you see? Jack On Tue, Jun 14, 2011 at 7:38 AM, Mario Spinthiras < spinthiras.ma...@gmail.com> wrote: > Hello everyone, > > I'm back with more updates on the issue. Forgive my lack of elaboration on > the topic in

Re: strange igb interface performance problems

2011-06-14 Thread Steven Hartland
- Original Message - From: "Mario Spinthiras" I've been looking at issues regarding performance with the igb issue from a few years back at this thread : http://lists.freebsd.org/pipermail/freebsd-doc/2009-June/015983.html. These are very similar problems to what I'm having however di

Re: strange igb interface performance problems

2011-06-14 Thread Mario Spinthiras
Hello everyone, I'm back with more updates on the issue. Forgive my lack of elaboration on the topic in my previous post; over the frustration of this problem I couldn't see this topic through so I let it go for a few days to revisit with a clear head perhaps. As I mentioned in a previous post,

Re: Scenario to make recv(MSG_WAITALL) stuck

2011-06-14 Thread Kostik Belousov
On Mon, Jun 13, 2011 at 07:19:40PM +0300, Mikolaj Golub wrote: > Hi, > > Below is a scenario how to make recv(2) with MSG_WAITALL flag get stuck. > > (See http://people.freebsd.org/~trociny/test_MSG_WAITALL.4.c for the test > code). > > Let's the size of the receive buffer is SOBUF_SIZE (e.g. 1