Re: ports/net/e169-stats (was: UMTS Huawei monitor)

2012-02-02 Thread Matthias Apitz
El día Tuesday, January 31, 2012 a las 01:43:47PM +0100, Matthias Apitz escribió: > At the end I decided to understand the source code. Btw: the device port > /dev/cuaU0.n is hardcoded set to .2, while mine is .3 for the E1750; Hello, While digging into the source, I saw that I was wrong saying

Re[2]: netisr defered - active only one thread

2012-02-02 Thread Коньков Евгений
Здравствуйте, Andrey. Вы писали 2 февраля 2012 г., 8:35:23: AZ> On 02.02.2012 5:11, Alexander V. Chernikov wrote: >> On 01.02.2012 20:45, Andrey Zonov wrote: >>> Hi, >>> >>> I'm trying to tune machine with 8.2-STABLE for heavy network load and >>> now playing with netisr. Could anyone explain me

Re: [PATCH] multiple instances of ipfw(4)

2012-02-02 Thread Ermal Luçi
On Tue, Jan 31, 2012 at 12:02 PM, Luigi Rizzo wrote: > On Mon, Jan 30, 2012 at 01:01:13PM +0100, Ermal Lu?i wrote: >> Hello, >> >> from needs on pfSense a patch for allowing multiple intances of >> ipfw(4) in kernel to co-exist was developed. >> It can be found here >> https://raw.github.com/bsdpe

HowTo easy use IPFW

2012-02-02 Thread Коньков Евгений
this is the mine script which helps me keep my firewall very clean and safe. It is easy to understand even if you have a thousands rules, I think =) please comment. PS. If anybody may, please put into ports tree. thank you. usr-local-etc-firewall.rar Description: Binary data __

8139 driver question

2012-02-02 Thread Matt Renzelmann
Hello, This will seem a bit off the wall, but I just noticed a discrepancy between the registers defined in the pci/if_rlreg.h directory and those specified on the RealTek datasheets for the antique RealTek 8139. In particular, as defined in the header, the registers in question are: #define RL_C

Re: netisr defered - active only one thread

2012-02-02 Thread Alexander V. Chernikov
On 02.02.2012 12:59, Коньков Евгений wrote: Здравствуйте, Andrey. Вы писали 2 февраля 2012 г., 8:35:23: AZ> On 02.02.2012 5:11, Alexander V. Chernikov wrote: On 01.02.2012 20:45, Andrey Zonov wrote: Hi, I'm trying to tune machine with 8.2-STABLE for heavy network load and now playing with n

Re: netisr defered - active only one thread

2012-02-02 Thread Adrian Minta
A multiqueue network card may help, like a dualport Intel igb E1G42ET. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: HowTo easy use IPFW

2012-02-02 Thread Jason Hellenthal
You are welcome to create a port and submit it for reccomendation... For that you should review the documents etc... at http://freebsd.org/docs Good Luck On Thu, Feb 02, 2012 at 11:33:14AM +0200, Коньков Евгений wrote: > this is the mine script which helps me keep my firewall very clean and saf

Re[2]: netisr defered - active only one thread

2012-02-02 Thread Коньков Евгений
Здравствуйте, Adrian. Вы писали 2 февраля 2012 г., 18:09:33: AM> A multiqueue network card may help, like a dualport Intel igb E1G42ET. actually it is not. Intel have hardware separation to interrupts. So having only pptp trafic on interface cause next problem: only one thread process packets

Re: netisr defered - active only one thread

2012-02-02 Thread Ryan Stone
2012/2/2 Alexander V. Chernikov : > P.S. it is also reasonable to set net.isr.bindthreads to 1 I really don't recommend setting this in any release. There is currently a bug with binding kernel threads that causes unrelated threads to be unnecessarily bound to CPUs. In the specific case of net.i

Re: netisr defered - active only one thread

2012-02-02 Thread Alexander V. Chernikov
On 02.02.2012 21:07, Ryan Stone wrote: 2012/2/2 Alexander V. Chernikov: P.S. it is also reasonable to set net.isr.bindthreads to 1 I really don't recommend setting this in any release. There is currently a bug with binding kernel threads that causes unrelated threads to be unnecessarily bound

Re: netisr defered - active only one thread

2012-02-02 Thread Adrian Minta
On 02/02/12 19:16, Коньков Евгений wrote: Здравствуйте, Adrian. Вы писали 2 февраля 2012 г., 18:09:33: AM> A multiqueue network card may help, like a dualport Intel igb E1G42ET. actually it is not. Intel have hardware separation to interrupts. So having only pptp trafic on interface cause ne

Re: netisr defered - active only one thread

2012-02-02 Thread Ryan Stone
On Thu, Feb 2, 2012 at 2:09 PM, Alexander V. Chernikov wrote: > As far as I understand, the only effect of setting bindthreads to 1 causes > intr_event_bind() to bind soft netisr to appropriate CPU. Can you point me > to ML discussion or some other info clarifying this bug? http://lists.freebsd.o

Re: netisr defered - active only one thread

2012-02-02 Thread Ryan Stone
On Thu, Feb 2, 2012 at 2:51 PM, Ryan Stone wrote: > of the last netisr through to be bound to a CPU. *sigh*, that should read "netisr thread" of course. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To un

RE: m_pullup - fail

2012-02-02 Thread rozhuk . im
The function does not allow access to data if m_flags & M_EXT size and more MHLEN, although the data is actually available. Why if there is no m_flags & M_PKTHDR size anyway MHLEN instead MLEN? As an improvement, you can try to copy the data from the current m in m_next, if m is not enough space

RE: m_pullup - fail

2012-02-02 Thread rozhuk . im
I am writing a netgraph node for processing UDP packets passing through the router / bridge. Node must fully inspect the entire contents of the package, in some cases, change them. Node is connected to ng_ether (lower, upper). I was faced with the fact that all packets are processed normally, exce