dhclient massive update -- test now or forever hold your peace!

2013-01-17 Thread Kenneth R Westerback
As advertised a few months ago, dhclient(8) have been substantially reworked. The functional changes should all be in -current and snapshots dated later than today. Workarounds for most reported uses of dhclient-script have been found. Now is the time to test dhclient hard to discover if/how your

Re: vr(4) TX interrupt reduction

2013-01-17 Thread Darren Tucker
On Fri, Jan 18, 2013 at 01:09:50PM +1100, Darren Tucker wrote: > The turd polishing continues unabated. and continues to continue. This adds a quirk to frob the interrupt-disable bit for VT6105M only. After checking all of the spec sheets that I can find, I found the TX interrupt disable bit (bi

Re: usr.sbin/passwd - O_CLOEXEC

2013-01-17 Thread Philip Guenther
I've had this exact diff, same whitespace and all, floating in my tree since Aug 2011. ok guenther@

usr.bin/chpass diff

2013-01-17 Thread David Hill
- use FD_CLOEXEC instead of 1 - use O_CLOEXEC with open() instead of open/fcntl Index: usr.bin/chpass/chpass.c === RCS file: /cvs/src/usr.bin/chpass/chpass.c,v retrieving revision 1.38 diff -N -u -p usr.bin/chpass/chpass.c --- usr.bin

usr.sbin/passwd - O_CLOEXEC

2013-01-17 Thread David Hill
condense to just use O_CLOEXEC with open. Index: usr.bin/passwd/local_passwd.c === RCS file: /cvs/src/usr.bin/passwd/local_passwd.c,v retrieving revision 1.40 diff -N -u -p usr.bin/passwd/local_passwd.c --- usr.bin/passwd/local_passwd

Re: vr(4) TX interrupt reduction

2013-01-17 Thread Chris Cappuccio
Darren Tucker [dtuc...@zip.com.au] wrote: > On Fri, Jan 18, 2013 at 09:00:25AM +1100, Darren Tucker wrote: > > Thanks to Mark Patruck for noticing that the previous patch didn't > > actually help, due to a bug I introduced in a last minute "obviously > > correct" clean up. > > The turd polishing c

Re: vr(4) TX interrupt reduction

2013-01-17 Thread Darren Tucker
On Fri, Jan 18, 2013 at 09:00:25AM +1100, Darren Tucker wrote: > Thanks to Mark Patruck for noticing that the previous patch didn't > actually help, due to a bug I introduced in a last minute "obviously > correct" clean up. The turd polishing continues unabated. This adds the interrupt disable bi

Re: vr(4) TX interrupt reduction

2013-01-17 Thread Darren Tucker
On Thu, Jan 17, 2013 at 09:34:32PM +1100, Darren Tucker wrote: > OK, here's another diff which does seem to help. It seems that there's > two different bits in the TX descriptor that control interrupts. Quoting > from the VT6105M spec: Thanks to Mark Patruck for noticing that the previous patch

Re: vr(4) TX interrupt reduction

2013-01-17 Thread Darren Tucker
On Wed, Jan 16, 2013 at 01:38:01PM +1100, Darren Tucker wrote: > On Mon, Jan 14, 2013 at 10:10:55PM +1100, Darren Tucker wrote: > > On my ALIX, it increase the IP routing throughput from 80Mbit/s to > > 85Mbit/s while reducing the interrupt CPU usage from 99% to 80%. > > It turns out that due to a