Re: FreeBSD box dropping packets

2006-03-21 Thread Anton Nikiforov

Hello and thanks for the replay.

Peter Jeremy wrote:


On Mon, 2006-Mar-20 21:26:56 +0300, Anton Nikiforov wrote:
 


I have a FreeBSD box running 5.4-RELEASE-p8.
   


...
 

A week ago it was working just properly, but after adding more RAM (2GB 
additional RAM, and i do not thing that this is the reason of the 
problem) it starts to drop large packets.
   



How much RAM is there now?  Why did you add the additional RAM (since
you suggest the machine isn't heavily loaded)?  What happens if you
remove the RAM?

 

It currently have 4GB RAM (was only 2). I did not try to remove RAM... 
yet. I'm thinking about adding more adapters to divide traffic into 
pieces. Maybe this wil be the solution?



It's possible that the additional RAM means that you are running out
of KVA under high network load.

 


KVA? What should i do in this case?

Best regards,
Anton Nikiforov
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD box dropping packets

2006-03-21 Thread Anton Nikiforov

Hello All,
Anton Nikiforov wrote:


Hello and thanks for the replay.

Peter Jeremy wrote:


On Mon, 2006-Mar-20 21:26:56 +0300, Anton Nikiforov wrote:
 


I have a FreeBSD box running 5.4-RELEASE-p8.
  


...
 

A week ago it was working just properly, but after adding more RAM 
(2GB additional RAM, and i do not thing that this is the reason of 
the problem) it starts to drop large packets.
  



How much RAM is there now?  Why did you add the additional RAM (since
you suggest the machine isn't heavily loaded)?  What happens if you
remove the RAM?

 

It currently have 4GB RAM (was only 2). I did not try to remove RAM... 
yet. I'm thinking about adding more adapters to divide traffic into 
pieces. Maybe this wil be the solution?



It's possible that the additional RAM means that you are running out
of KVA under high network load.

 


KVA? What should i do in this case?

I'm replaying to myself because i have found out the solution. I have 
two bge adapters, fxp and xl.
If i'm moving all vlans (one or two or three or all 30) to fxp or xl - 
everything working just properly. No packet looses. But with bge - 40% 
of packets being lost.

Is it driver/os trouble or just my adapters should be changed?
I'll try to do the same tests on my notebook (dell) that have bge 
adapter also, but not now :)


Best regards,
Anton
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD box dropping packets

2006-03-20 Thread Anton Nikiforov

Dear All,
I have a FreeBSD box running 5.4-RELEASE-p8.
Two interfaces:
fxp0 - internet, SKA4 internal interface
fxp0: Intel 82559 Pro/100 Ethernet

bge0 - internal with 30 vlans on it, old bge Gigabit 64/32 PCI-2.1 adapter.
bge0: Altima AC1002 Gigabit Ethernet, ASIC rev. 0x105

Firewall is pf with about 5000 rules.

A week ago it was working just properly, but after adding more RAM (2GB 
additional RAM, and i do not thing that this is the reason of the 
problem) it starts to drop large packets.
And the larger packet is - the more packets being droped, some of the 
does not appears to be incoming on bge interface, some of them being 
lost in between bge0 and fxp0 and some of them passing through. On the 
test with 1500 byte packets it looses about 40% (with 1400 it is 36%, 
with 512 byte packets it is 19%, with 256 byte packets it is 0).
And strange thing. When i'm pinging with large packets from external 
host (at the same IP network and connected to the same switch) - it 
looses packets exactly the same way, but when i'm pinging from this host 
itself the others - no looses appears at all.
So, looks like the interface sending packets just properly, but having 
trouble receivivng packets.


System load is almost 0% (1-5% in long term), sometimes 50% (sort term 
load, like mail antispam filter or antivirus). But it is 4CPU 
Pentium-III XEON, this should not be a problem and it was not a problem.


Does someone have any ideas?


Best regards,
Anton Nikiforov


smime.p7s
Description: S/MIME Cryptographic Signature


Re: FreeBSD box dropping packets

2006-03-20 Thread Peter Jeremy
On Mon, 2006-Mar-20 21:26:56 +0300, Anton Nikiforov wrote:
I have a FreeBSD box running 5.4-RELEASE-p8.
...
A week ago it was working just properly, but after adding more RAM (2GB 
additional RAM, and i do not thing that this is the reason of the 
problem) it starts to drop large packets.

How much RAM is there now?  Why did you add the additional RAM (since
you suggest the machine isn't heavily loaded)?  What happens if you
remove the RAM?

It's possible that the additional RAM means that you are running out
of KVA under high network load.

-- 
Peter Jeremy


smime.p7s
Description: S/MIME cryptographic signature