network driver cpu usage


 
Thread Tools Search this Thread
Operating Systems Solaris network driver cpu usage
# 1  
Old 03-23-2007
network driver cpu usage

Hello all,

Needed a suggestion from you all, if you know anything about this stuff.
We have a high network traffic application. Close to around 700Meg /sec on one NIC.

When the traffic is around 200Meg on the NIC, the VCPU(not the CPU, cause we have 24 VCPU) utilization by the NIC driver hits 88%. I am afraid we cannot scale it to 700Meg, because the driver does not seem to migrate to any other VCPU and stickts to one VCPU all the time.

Any suggestions, so we could make the driver float around?
# 2  
Old 03-24-2007
What type of network traffic is it?

If you are dealing with a lot of encrypted traffic, you could probably do something more efficient...ie offload to the crypto accelerator, because you may be seeing a problem related to FPU queuing, rather than actual CPU load.
# 3  
Old 03-26-2007
reborg..
its plain UDp data getting dumped on to the interface. As soon as the number of open sockets/bindings(either multicast or unicast), the single cpu usage which the bge driver is stuck to keeps hitting max and then starts losing packets.

Is there anyway we could make the driver get distributed among the other 20 vcpus which are lying idle.

Looks like the bge driver always gets stuck with one vcpu and doesnt move around other idle cpus.
# 4  
Old 03-26-2007
You could try upping the number of send and receive rings if you are using a T1000 it's bge's you should have these settings in /kernel/drv/bge.conf

bge-rx-rings = 1;
bge-tx-rings = 1;

You could try increasing the number of rings.

If it's a t2000, you have e1000g nics, and I'm not sure if equivalent code has been putback yet.
# 5  
Old 03-26-2007
Reborg,

Ur guess is right. its t1k.
I had tried it earlier and made it 4 each, but did not help. The driver seemed to be stuck on one VCPU and when the load increased we started losing packets.

I have tried the below settings too.
set ip:ip_squeue_bind=0
set ip:ip_squeue_fanout=1

But the driver seems to be having some cpu affinity(with or without creation of processor sets).

It does not budge. Any suggestions?


Quote:
Originally Posted by reborg
You could try upping the number of send and receive rings if you are using a T1000 it's bge's you should have these settings in /kernel/drv/bge.conf

bge-rx-rings = 1;
bge-tx-rings = 1;

You could try increasing the number of rings.

If it's a t2000, you have e1000g nics, and I'm not sure if equivalent code has been putback yet.
# 6  
Old 06-04-2008
Hi Naanu,


We're running into the same problem, and I was wondering if you had been able to resolve it. We're looking at 200Mbps RTP traffix, with some Sigtran signaling interspersed. Because the RTP packets are all 214 bytes long, we're getting about 100K packets/second in. This saturates the virtual CPU and we're dropping packets.

The thread didn't show a resolution, but I'd be very interested to know if you were able to work around it.

Thanks very much!

Jaap.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

High Runqueue (R) LOW CPU LOW I/O Low Network Low memory usage

Hello All I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) . The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Discussion started by: IL-Malti
9 Replies

2. Programming

The simplest network driver

Hi, I am trying to write the simplest network driver that would send whatever through cable. My configuration is: Linux machine with some Intel network adapter Another machine with WireShark I connected Intel network adapter to second machine and want anything to pop up at wireshark. ... (12 Replies)
Discussion started by: Chrisdot
12 Replies

3. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

4. Solaris

Multi CPU Solaris system shows 100% CPU usage.

Hello Friends, On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization. ========================================================================= $ prstat -a ... (4 Replies)
Discussion started by: mahive
4 Replies

5. Solaris

Installing Network on Computer, might be driver

Hi All, Just completing my second Solaris installation, in the previous one which was on a Dell X64 machine, I went through the Network configuration setting, on the current computer which I am installing Solaris on, its a custom built machine and for some reason, I didnt see the screen where I... (1 Reply)
Discussion started by: platforminc
1 Replies

6. Solaris

current CPU usage, memory usage, disk I/O oid(snmp)

Hi, I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP. I want the oids for above tasks. can you please tell me that Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies

7. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

8. Programming

CPU usage and memory usage

Please tell me solaris functions/api for getting following information 1- Function that tells how much memory used by current process 2- Function that tells how much memory used by all running processes 3- Function that tells how much CPU is used by current process 4- Function that tells how... (1 Reply)
Discussion started by: mansoorulhaq
1 Replies

9. Programming

Network device driver

HI, I am writing a network device driver for RTL8139c card on 2.6.18 kernel ... I am facing few queries listed below 1. Can i able to at all write a driver for RTL8139C or Realtek had designed new chip for 2.6 series kernel? 2. If no then which driver file 2.6.18 uses .. Is it 8139too.c or... (1 Reply)
Discussion started by: niketan
1 Replies

10. Programming

Monitor CPU usage and Memory Usage

how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries through a c program or java program i want to store that data into database so i can show it graphically thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies
Login or Register to Ask a Question