Re: Why Ierrs is so high?

2005-08-10 Thread Jeremie Le Hen
Hi, > I have a machine with 3 Intel pro1000 cards. > > em0 is in promisc mode, whose MAC controller is 82543 using fiber line > connected. > > em1, em2 is not connected with cable. > > Driver configuration is the default, RXD is 256, TXD is 256. > > > > Result of "netstat -i": > >

Re: Why Ierrs is so high?

2005-08-10 Thread Dave+Seddon
Greetings, Also, how were you measuring the packet and data rate? What were you using to generate the traffic? I used /usr/ports/benchmark/siege and /usr/ports/www/thttpd. Regards, Dave Mao Shou Yan writes: Hi, all, I have a machine with 3 Intel pro1000 cards. em0 is in promisc

FW: Why Ierrs is so high?

2005-08-10 Thread Mao Shou Yan
-Original Message- From: Mao Shou Yan Sent: 2005年8月11日 10:34 To: 'Dave+Seddon' Subject: RE: Why Ierrs is so high? I'm also using polling enable and set HZ to 1, the CPU is p4 3.0G. The system is 5.4 too. My conf: kern.polling.enable=1 kern.polling.burst_max=600

Re: Why Ierrs is so high?

2005-08-10 Thread Dave+Seddon
Greetings, Yeah I'd say there is something funny also. I've stuffed around with HZ and polling settings heaps and could only manage about 120MB/s-ish of HTTP traffic. I'm as running 5.4-stable from about 2-3 weeks ago. /etc/sysctl.conf kern.polling.enable=1 kern.polling.each_burst=50 #need

Why Ierrs is so high?

2005-08-10 Thread Mao Shou Yan
Hi, all, I have a machine with 3 Intel pro1000 cards. em0 is in promisc mode, whose MAC controller is 82543 using fiber line connected. em1, em2 is not connected with cable. Driver configuration is the default, RXD is 256, TXD is 256. Result of "netstat -i": Name Mtu Network Ad

Re: Stranges with ARP

2005-08-10 Thread Sten Daniel Sørsdal
Steve Langdon wrote: > Sten, thanks for helping me. > > Another question: ``route -blackhole' is the same thing like ``arp -S [IP] > 00:00:00:00:00'? So packet will ignore on router. Or not? > > -blackhole would drop any packets matching that route. That is, it drops packets coming from say the

Re: two dc cards on 5.4

2005-08-10 Thread Dave+Seddon
google = "freebsd media rc.conf" -> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-set up.html Section shows: ifconfig_dc0="inet 192.168.1.3 netmask 255.255.255.0" ifconfig_dc1="inet 10.0.0.1 netmask 255.255.255.0 media 10baseT/UTP" So you want: ifconfig_dc0="100base

two dc cards on 5.4

2005-08-10 Thread dave
Hello, I'm trying to get a pair of netgear cards to work on a 5.4-RELEASE-p6 box. My rc.conf looks as follows: ifconfig_dc0="DHCP" ifconfig_dc1="inet 192.168.0.200 netmask 255.255.255.255" When i only have one dc card in the box dc0 everything works, the box gets a dhcp ip. Put the second one

Re: Atheros 5212

2005-08-10 Thread Sam Leffler
Giovanni P. Tirloni wrote: Sam Leffler wrote: Kevin Downey wrote: I am running a generic kernel with all the debugging knobs. if I use BitTorrent or Gnutella in X the computer reboots after a few minutes. From the console it drops into the debugger deal. But will not give me a crash du

Re: Atheros 5212

2005-08-10 Thread Giovanni P. Tirloni
Sam Leffler wrote: Kevin Downey wrote: I am running a generic kernel with all the debugging knobs. if I use BitTorrent or Gnutella in X the computer reboots after a few minutes. From the console it drops into the debugger deal. But will not give me a crash dump. The stack trace below i

Netgraph question

2005-08-10 Thread Nathanael M Van Vorst
I sent this is Julian a bit ago. I guess he has been too busy to look into it, so I hope someone else in the community can help! Somehow I lost the screen shot I refer to in the message below (but its trival to reproduce). In brief, the code below is supposed to create a KLD/psuedo-device that I c

Re: Stranges with ARP

2005-08-10 Thread Claudio Jeker
On Wed, Aug 10, 2005 at 05:07:27PM +0400, Steve Langdon wrote: > Hello all. > > Help me to solve a strange conduct. > I want to have permanent bundle with IP->MAC for users in our network to > have some security. So, once my user's MAC doesn't appear in my ARP > table, I have to block by ``arp -S

Re: Stack virtualization (was: running out of mbufs?)

2005-08-10 Thread Christian Kratzer
Hi, On Wed, 10 Aug 2005, Jeremie Le Hen wrote: On Wed, Aug 10, 2005 at 03:30:32PM +0200, Christian Kratzer wrote: And of course IPv6 for jails is something that could propably be solved in a very clean way using virtual ip stacks as in Marcos patch. I'll cook something up that uses interface

Re[2]: Stranges with ARP

2005-08-10 Thread Steve Langdon
Sten, thanks for helping me. Another question: ``route -blackhole' is the same thing like ``arp -S [IP] 00:00:00:00:00'? So packet will ignore on router. Or not? -Original Message- From: Sten Daniel SЬrsdal <[EMAIL PROTECTED]> To: Steve Langdon <[EMAIL PROTECTED]> Date: Wed, 10 Aug 2005

Re: Stack virtualization (was: running out of mbufs?)

2005-08-10 Thread Jeremie Le Hen
On Wed, Aug 10, 2005 at 03:30:32PM +0200, Christian Kratzer wrote: > >>And of course IPv6 for jails is something that could propably be solved > >>in a very clean way using virtual ip stacks as in Marcos patch. > > > >I'll cook something up that uses interface groups and then you can judge > >wheth

Re: Stack virtualization (was: running out of mbufs?)

2005-08-10 Thread Christian Kratzer
Hi, On Wed, 10 Aug 2005, Andre Oppermann wrote: Christian Kratzer wrote: please consider that routing is not everything. Routing is the primary scope of my IP work. It doesn't preclude Marko's approach from being implemented and working as it does for 4.11. I fully understand that you mos

Stranges with ARP

2005-08-10 Thread Steve Langdon
Hello all. Help me to solve a strange conduct. I want to have permanent bundle with IP->MAC for users in our network to have some security. So, once my user's MAC doesn't appear in my ARP table, I have to block by ``arp -S ..' his IP with MAC generated by my script with prefix d1:fa:28. One da

Re: Stack virtualization (was: running out of mbufs?)

2005-08-10 Thread Andre Oppermann
Christian Kratzer wrote: > > Hi, > > On Wed, 10 Aug 2005, Andre Oppermann wrote: > > > Jeremie Le Hen wrote: > >> One of the most powerful criteria it provides is "fwmark" which allows > >> to match against a mark stamped on the skbuff (their mbuf) by the > >> firewall. This leads to the abilit

Re: Stack virtualization (was: running out of mbufs?)

2005-08-10 Thread Christian Kratzer
Hi, On Wed, 10 Aug 2005, Andre Oppermann wrote: Jeremie Le Hen wrote: One of the most powerful criteria it provides is "fwmark" which allows to match against a mark stamped on the skbuff (their mbuf) by the firewall. This leads to the ability to route packets based on the whole capabilities o

Re: Stack virtualization (was: running out of mbufs?)

2005-08-10 Thread Andre Oppermann
Jeremie Le Hen wrote: > > > I haven't fully explored all applications and possible tie-ins with > > jails, virtual stacks etc. but it looks very interesting. > > > > For example I want to have multiple routing tables within the same > > stack. These routing tables can be opaque or fall-through an

Re: very busy ftpd

2005-08-10 Thread Maxim Konovalov
On Wed, 10 Aug 2005, 00:40-0400, Mikhail Teterin wrote: > > > I just noticed, that uploading a file over a LANG (at around > > > 5.7Mb/s) resulted in around 25% CPU consumption by the ftpd. > > > > > > I think, that's unusual for a Pentium4 -- what is the process doing? > > > > Check the client do