Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - io-pkt consuming 50% of CPU: (6 Items)
   
io-pkt consuming 50% of CPU  
We're running reboot testing on our system and we are occasionally seeing situations where our system fails to 
initialize and when we look at what's going on, io-pkt-v4-hc is consuming approximately 50% of one CPU and networking 
commands like ifconfig, nicinfo and ping hang (ctrl-C will terminate the commands but it takes 20 to 30 seconds). 
Interestingly, Qnet seems to be OK. I found a forum post where someone had the same problem (see the link below) but 
there weren't any responses. Another data point, if we unplug the network connection and plug it back in, network 
connectivity returns to normal.

Any idea what could be going on? Thanks.

http://community.qnx.com/sf/discussion/do/listPosts/projects.core_os/discussion.newcode.topc15654

Mark

Re: io-pkt consuming 50% of CPU  
Take a kernel event trace see what the threads are doing?

On 12-04-10 2:22 PM, "Mark Dowdy" <community-noreply@qnx.com> wrote:

>We're running reboot testing on our system and we are occasionally seeing
>situations where our system fails to initialize and when we look at
>what's going on, io-pkt-v4-hc is consuming approximately 50% of one CPU
>and networking commands like ifconfig, nicinfo and ping hang (ctrl-C will
>terminate the commands but it takes 20 to 30 seconds). Interestingly,
>Qnet seems to be OK. I found a forum post where someone had the same
>problem (see the link below) but there weren't any responses. Another
>data point, if we unplug the network connection and plug it back in,
>network connectivity returns to normal.
>
>Any idea what could be going on? Thanks.
>
>http://community.qnx.com/sf/discussion/do/listPosts/projects.core_os/discu
>ssion.newcode.topc15654
>
>Mark
>
>
>
>
>
>_______________________________________________
>
>Networking Drivers
>http://community.qnx.com/sf/go/post92513
>
Re: io-pkt consuming 50% of CPU  
Thread 2 in io-pkt-v4-hc is just running and running and running. No kernel events other than brief instances when an 
interrupt occurs and the kernel allows another process to run briefly. The kernel trace is probably too large to include
 as an attachment but I may be able to find a ftp server to put it on if seeing it would help.

In brief, here are some event entries for io-pkt-v4-hc (process 94222)
120104, 15s 647ms 52us, Process 94222 Thread 2, Running, pid 94222 tid 2

io-pkt-v4-hc thread 2 just runs until
120221, 15s 651ms 26us, Process 94222 Thread 2, Ready, pid 94222 tid 2

another couple of processes run in response to an interrupt and then io-pkt starts up again
120241, 15s 651ms 32us, Process 94222 Thread 2, Running, pid 94222 tid 2

io-pkt keeps on running until
120314, 15s 655ms 26us, Process 94222 Thread 2, Ready, pid 94222 tid 2

I think you get the idea. This looks an awful lot like an infinite loop in the stack/driver. What could either of these 
be doing that wouldn't result in any entries in the kernel trace?

One item of note, the priority of io-pkt-v4-hc, thread 2 is 30. In 'normal' operation, it looks like this thread runs at
 priority 21.

Any other ideas to look into? Thanks.

Mark
Re: io-pkt consuming 50% of CPU  
What driver are you running?

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-04-10 6:43 PM, "Mark Dowdy" <community-noreply@qnx.com> wrote:

>Thread 2 in io-pkt-v4-hc is just running and running and running. No
>kernel events other than brief instances when an interrupt occurs and the
>kernel allows another process to run briefly. The kernel trace is
>probably too large to include as an attachment but I may be able to find
>a ftp server to put it on if seeing it would help.
>
>In brief, here are some event entries for io-pkt-v4-hc (process 94222)
>120104, 15s 647ms 52us, Process 94222 Thread 2, Running, pid 94222 tid 2
>
>io-pkt-v4-hc thread 2 just runs until
>120221, 15s 651ms 26us, Process 94222 Thread 2, Ready, pid 94222 tid 2
>
>another couple of processes run in response to an interrupt and then
>io-pkt starts up again
>120241, 15s 651ms 32us, Process 94222 Thread 2, Running, pid 94222 tid 2
>
>io-pkt keeps on running until
>120314, 15s 655ms 26us, Process 94222 Thread 2, Ready, pid 94222 tid 2
>
>I think you get the idea. This looks an awful lot like an infinite loop
>in the stack/driver. What could either of these be doing that wouldn't
>result in any entries in the kernel trace?
>
>One item of note, the priority of io-pkt-v4-hc, thread 2 is 30. In
>'normal' operation, it looks like this thread runs at priority 21.
>
>Any other ideas to look into? Thanks.
>
>Mark
>
>
>
>
>_______________________________________________
>
>Networking Drivers
>http://community.qnx.com/sf/go/post92518
>
Re: io-pkt consuming 50% of CPU  
Whoops, that would be important. The driver is devnp-e1000.so.

Mark
Re: io-pkt consuming 50% of CPU  
Please try the attached driver an let us know if it solves the problem.

Thanks.

-- 
Hugh Brown
QNX Software Systems Limited
1001 Farrar Rd.,
Ottawa. ON. K2K 0B3.
Telephone: 613-591-0931







On 12-04-16 12:56 PM, "Mark Dowdy" <community-noreply@qnx.com> wrote:

>Whoops, that would be important. The driver is devnp-e1000.so.
>
>Mark
>
>
>
>
>_______________________________________________
>
>Networking Drivers
>http://community.qnx.com/sf/go/post92572
>

Attachment: Text devnp-e1000.so 270.99 KB