new sk driver [was: nve timeout (and down) regression?]

JoaoBR joao at matik.com.br
Sat Apr 1 21:28:30 UTC 2006


On Saturday 01 April 2006 16:15, Pieter de Goeje wrote:
> >
> > may be you consider to try Pyun's driver
> >
> >  > > http://people.freebsd.org/~yongari/sk/sk_test/if_sk.c
> >  > > http://people.freebsd.org/~yongari/sk/sk_test/if_skreg.h
> >
> > and run yours without mpsafenet ?
> >
> > I have no clue what a game server requires. I tried anything even generic
> > kernel and no sysctls/loader.conf values set in order to see if something
> > else is wrong. Also I have lots of this machines and any of them same
> > result.
> >
> >
> >
> > João
>
> I have the system running for 3 days straight now with the new driver,
> however the problem described earlier still exists. I still need to use
> mpsafenet=0. Other than that, the driver seems fine. No timeouts
> whatsoever. I was thinking, maybe it isn't the network driver but the linux
> compatibility layer that has problems with SMP.
>
> Pieter de Goeje


great !

the problem you mention is what you wrote in a former msg, right:

>With debug.mpsafenet=1, cvsup failes with "protocol error"s on the SMP box. 
>Also, I run several Half-Life: Counter-Strike servers on it and clients 
>occasionaly receive corrupted UDP packets which cause them to drop the 
>connection. However as soon as I changed debug.mpsafenet to 0, all problems 
>were gone.

that is really strange, I do not have such problems at all and it seems we are 
running basicly the same system, AV8 + X2 + releng_6.

so the gameserver needs linux_compat? I haven't it compiled in my kernel but 
on some parent caches which talk udp between them and some loaded DNS servers 
I got ocasionally udp errors but I could get around it by setting 

net.inet.udp.recvspace
net.inet.udp.maxdgram

to higher values. 

João









A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br


More information about the freebsd-stable mailing list