Problem with process parallelization

2008-09-07 Thread Zin'kov Oleg

Hello, freebsd-net mailing list.

We have server such configurtion:
- 2 quadcore AMD Opteron processors;
- 4 GB RAM;
- NIC Intel Pro/1000 PT, Dual Port Server Adapter.

###

Problem:

in some moments of time, at the  growth of the network activity, one of
the processors is fully loaded at 100%.

###

Kernel configuration:

FreeBSD atlantis.bg.net.ua 7.0-STABLE FreeBSD 7.0-STABLE #1: Tue Apr  1
15:06:30 EEST 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ATLANTIS  amd64

/etc/sysctl.conf:

net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
kern.ipc.somaxconn=16384
net.inet.ip.fastforwarding=1
net.inet.ip.maxfragpackets=2000
net.inet.ip.intr_queue_maxlen=1000
net.inet.ip.dummynet.hash_size=2048
net.inet.tcp.recvspace=65536
net.inet.udp.recvspace=65536
net.inet.raw.recvspace=32768
net.local.stream.recvspace=32768
net.local.dgram.recvspace=32768
net.local.stream.sendspace=32768
net.inet.tcp.sendspace=65536
net.inet.icmp.icmplim=500
dev.em.0.rx_int_delay=500
dev.em.0.tx_int_delay=500
dev.em.0.rx_abs_int_delay=800
dev.em.0.tx_abs_int_delay=800
dev.em.1.rx_int_delay=500
dev.em.1.tx_int_delay=500
dev.em.1.rx_abs_int_delay=800
dev.em.1.tx_abs_int_delay=800
net.link.ether.inet.max_age=600

/boot/loader.conf:

hw.em.rxd=4096
hw.em.txd=4096

/etc/rc.firewall:

82 pipes like theese:

pipe 387 ip from any to 193.227.x.x in recv vlan10
pipe 388 ip from 193.227.x.x to any out xmit vlan10


#
Kernel:


cpu HAMMER
ident   ATLANTIS

# To statically compile in device wiring instead of /boot/device.hints
#hints  "GENERIC.hints" # Default places to look for
devices.

makeoptions DEBUG=-g# Build kernel with gdb(1) debug
symbols

options SCHED_ULE   # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
#optionsSCTP# Stream Control Transmission
Protocol
options FFS # Berkeley Fast Filesystem options
SOFTUPDATES # Enable FFS soft updates support options
   UFS_ACL # Support for access control lists options
UFS_DIRHASH # Improve performance on big directories
options PROCFS  # Process filesystem (requires
PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_PART_GPT   # GUID Partition Tables.
options GEOM_LABEL  # Provides labelization
options COMPAT_43TTY# BSD 4.3 TTY compat [KEEP THIS!]
options COMPAT_IA32 # Compatible with i386 binaries
options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options
COMPAT_FREEBSD5 # Compatible with FreeBSD5 options
COMPAT_FREEBSD6 # Compatible with FreeBSD6 options KTRACE
# ktrace(1) support
options SYSVSHM # SYSV-style shared memory options
SYSVMSG # SYSV-style message queues options
 SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options ADAPTIVE_GIANT  # Giant mutex is adaptive. options
STOP_NMI# Stop CPUS using NMI instead of IPI
options AUDIT   # Security event auditing

# Make an SMP-capable kernel by default
options SMP # Symmetric MultiProcessor Kernel

# Bus support.
device  acpi
device  pci

# ATA and ATAPI devices
device  ata

device  atadisk # ATA disk drives
options ATA_STATIC_ID   # Static device numbering

# RAID controllers
device  twe # 3ware ATA RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard

device  vga # VGA video card driver

device  splash  # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console device
sc

### COM
device  sio

# PCI Ethernet NICs.
device  em  # Intel PRO/1000 adapter Gigabit Ethernet
Card

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these
NICs! device  miibus  # MII bus support
device  bge # Broadcom BCM570xx Gigabit Ethernet
device  fxp # Intel EtherExpress PRO/100B (82557,
82558)

# Pseudo devices.
device  loop# Network loopback
device  random  # Entropy device
device 

Re: kern/127052: [if_bridge] Still bridge issues - with L2 protocols such as PPPoE

2008-09-07 Thread thompsa
Synopsis: [if_bridge] Still bridge issues - with L2 protocols such as PPPoE

State-Changed-From-To: open->closed
State-Changed-By: thompsa
State-Changed-When: Mon Sep 8 03:19:43 UTC 2008
State-Changed-Why: 
r180140 has been reverted for 6.4 and 7.1, thanks for testing 
and reporting the problems.

http://www.freebsd.org/cgi/query-pr.cgi?pr=127052
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"