Zero copy sockets question

2004-02-12 Thread Dung Patrick
Hi I have read http://people.freebsd.org/~ken/zero_copy/ To correctly use zero copy receive, it seems it need to set the MTU to: have to be at least page sized, and be aligned on page boundaries. So is the default MTU for ethernet network card 1500 works? Thank you in advance. Patrick

Re: nfs lockup

2004-02-12 Thread Danny Braniss
just an update, with a newer -current it still hangs exactly in the same place, and on two very different hosts! xpc# ps lwp 21002 UID PID PPID CPU PRI NI VSZ RSS MWCHAN STAT TT TIME COMMAND 18 21002 20990 0 -7 0 1572 1036 nfsfsy D p00:00.00 ar cq libbsdxml.a

help sysctl.h

2004-02-12 Thread Nate Grey
Hello, I'm trying to write a little program which retrieve the value 'sysctl hw.acpi.thermal.tz0.temperature', I want to write it in C, through sys/sysctl.h, but I'm a newbie C coder, so can anyone show me how to assign to a var the value stored in that sysctl using sysctl C call? I have read

bfe hardlocks

2004-02-12 Thread Sean Hamilton
I've found my 5.2-RELEASE system hardlocking when I put some decent load on its bfe interface. It'll do 80% load for hours before it freezes, but if I do a ping -f it locks up within seconds. I had no problems using this interface with the Windows driver provided by Broadcom. bfe0: Broadcom

Re: help sysctl.h

2004-02-12 Thread Vlad Galu
Nate Grey [EMAIL PROTECTED] writes: |Hello, | |I'm trying to write a little program which retrieve the value 'sysctl |hw.acpi.thermal.tz0.temperature', I want to write it in C, through |sys/sysctl.h, but I'm a newbie C coder, so can anyone show me how to |assign to a var the value stored in that

Re: Zero copy sockets question

2004-02-12 Thread Andrew Gallatin
Dung Patrick writes: Hi I have read http://people.freebsd.org/~ken/zero_copy/ To correctly use zero copy receive, it seems it need to set the MTU to: have to be at least page sized, and be aligned on page boundaries. Yes. So is the default MTU for ethernet network card 1500

Re: Re: Zero copy sockets question

2004-02-12 Thread Dung Patrick
Correct me if I am wrong: To use the zero copy 'receive' on i386, you need to set the MTU to 4096 bytes(page size) or 4096 multiples. If it is true, until zero copy receive can do auto fitting, I think zero copy receive is more useful in gigabit ethernet than in fast ethernet (I assume MTU

Subversion/CVS experiment update

2004-02-12 Thread Craig Boston
Just a quick update -- since the individual directories imported ok I decided to give it a go with the newest (and possibly last before 1.0) subversion, 0.37.0. This time I'm importing the entire src/ repo to see what it can handle. I'm not quite brave enough to go after ports yet :) I'm

Re: Re: Zero copy sockets question

2004-02-12 Thread Andrew Gallatin
Dung Patrick writes: Correct me if I am wrong: To use the zero copy 'receive' on i386, you need to set the MTU to 4096 bytes(page size) or 4096 multiples. No, just larger than a page-size plus headers. FreeBSD's tcp automagically sets the mss to a page-sized multiple for large MTUs.

Re: Subversion/CVS experiment summary

2004-02-12 Thread Marc G. Fournier
On Mon, 9 Feb 2004, Michael Reifenberger wrote: Hi, first, this seems to be a good analysis of SVN and a good starting point for thinking about moving away from CVS. I missed the original thread here, so this point may have already been made ... but ... we tried to use subversion for a

Re: bfe hardlocks

2004-02-12 Thread Amar Takhar
On 2004-02-11 16:52 -0800, Sean Hamilton wrote: I've found my 5.2-RELEASE system hardlocking when I put some decent load on its bfe interface. It'll do 80% load for hours before it freezes, but if I do a ping -f it locks up within seconds. I had no problems using this interface with the

Re: Obtaining 75k (active) concurrent tcp sessions..

2004-02-12 Thread Mike Silbersack
On Thu, 12 Feb 2004, Bill wrote: I read a post that was sent to freebsd-hackers, which mentioned an individual was able to obtain 1.6 million concurrent tcp sessions, so I assume it's possible. That was with a heavily modified version of FreeBSD, you wouldn't be able to hit 1.6 million out