Sponsored Content
Special Forums UNIX and Linux Applications Infrastructure Monitoring CPU - Interrupts distribution Post 302934588 by r_t_1601 on Monday 9th of February 2015 02:19:29 AM
Old 02-09-2015
Also captured the yeild for
Code:
cat /proc/interrupts

Code:
           CPU0,    CPU1,     CPU2,     CPU3,   CPU4,    CPU5,  CPU6,    CPU7,    CPU8,    CPU9,    CPU10,      CPU11,  CPU12,    CPU13,    CPU14,   CPU15,
130:00:00,  1048,       0,      0,       0,       0,      0,       0,       0,       0,       0,        0,  202064668,       0,        0,        0, 512532716, PCI-MSI, eth0 
185:00:00, 5385, 3181749, 3266781, 1267992, 3453589, 2981991, 104657, 265, 0, 66125, 10136, 85428, 2100126, 1341219, 65914, 0, IO-APIC-level, lpfc
193:00:00, 4453, 3421072, 3176832, 975485, 2866437, 3487992, 302016, 29507, 0, 960, 67873, 100243, 1338298, 2182582, 0, 0, IO-APIC-level, lpfc
201:00:00, 7326, 21563193, 12967850, 1946063, 0, 62303, 5370651, 543112, 0, 3329977, 14479511, 65730, 0, 19, 12861008, 20370, IO-APIC-level, megasas
NMI:, 323299, 99906, 73879, 61131, 266359, 91899, 75309, 61200, 102974, 104665, 80748, 104176, 98485, 119343, 91712, 114415, , 
LOC:, 4155248420, 4155248563, 4155248841, 4155248725, 4155248852, 4155248711, 4155249174, 4155249117, 4155248301, 4155247903, 4155248172, 4155248183, 4155248709, 4155248296, 4155248535, 4155248532,

saw uneven
distribution for CPU 0 , CPU 11 and CPU 15 , can anyone suggest if this normal behaviour ?

Last edited by r_t_1601; 02-09-2015 at 07:43 AM..
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Does unix use interrupts?

I'm a freshman here and I have a simple question. Does unix use interrupts which is like Dos? Are they the same? Thx.:cool: (6 Replies)
Discussion started by: Frank_M
6 Replies

2. UNIX for Dummies Questions & Answers

catching interrupts

hey i have been facing a problem,can you tell me if we can catch ctrl d in unix i have tried and sucessfully catched and disabled ctrl-c and ctrl -z but am not sure if we can do the same for CTRL-D, so got any clue mail on he forum or ...i mean c programming in Unix thats what i am working on (1 Reply)
Discussion started by: toughguy2handle
1 Replies

3. UNIX for Advanced & Expert Users

How to bind interrupts on a specific CPU

Hello, we practise our server with operating system ReliantUNIX 5.45 and we are using Informix Dynamic Server 7.31. I ascertained a lot of cpu interrupts per second (int/s). The count of int/s exceeds critical maximum value considerably. Machine specific notes for Informix Dynamic Server... (1 Reply)
Discussion started by: urbale
1 Replies

4. UNIX for Advanced & Expert Users

Interrupts problems

Hi, My machine is a Unixware 7.1.3 is a files server, and I had never problem with that machine, but since two days, the machine presents slows problems, i think that the problem is te device interrupts, I had checked all and I dont found it any problem. Any idea? Thanks, (sorry my... (2 Replies)
Discussion started by: By_Jam
2 Replies

5. UNIX for Dummies Questions & Answers

Traps and Interrupts

Well, I don't know where exactly to ask this doubt so I'm asking in the newbie section. I was reading about traps and interrupts when I thought of traps as something that cease the control of the OS from the user and interrupts that cease the control yet provide support for multitasking. Am I right... (3 Replies)
Discussion started by: Legend986
3 Replies

6. UNIX for Dummies Questions & Answers

about concept of Interrupts.

Hi all, I am new here ,i want to know about interrupts in detail.What r Interrupts .how they r handeled. Thanx in adavnce. (1 Reply)
Discussion started by: vishwasrao
1 Replies

7. Programming

SIGCHLD interrupts its own handler

Hi. I have a program whose job it is to manage 15 child processes. Sometimes these children die (sometimes deliberately other times with a SEGV). This causes a SIGCHLD to be sent to my program which uses waitpid() in the signal handler to gather information and, in most cases, restart the child.... (3 Replies)
Discussion started by: jrichemont
3 Replies

8. Programming

Getting notified in user-space on interrupts

Hi, I'm working on an AMD opteron running Linux 2.6.28.6 I want to preload a module specific register (MSR) with a value to have it overflow after a number of a specific event counts. As I understand, when the counter in the register overflows, an interrupt will be generated and handled by the... (2 Replies)
Discussion started by: mylinuxforums
2 Replies

9. UNIX for Dummies Questions & Answers

x86 Interrupts and system calls

I recently went through Understanding the linux kernel, to get an idea of how system calls and interrupts function in an x86 based machine. However, the level of detail has left me slightly confused. Here's what I understand. System call process: User mode: User code calls a library... (11 Replies)
Discussion started by: ab_tall
11 Replies
pmqtest(8)																pmqtest(8)

NAME
pmqtest - Start pairs of threads and measure the latency of interprocess communication with POSIX messages queues SYNTAX
pmqtest [-a|-a PROC] [-b USEC] [-d DIST] [-i INTV] [-l loops] [-p PRIO] [-S] [-t|-t NUM] [-T TO] DESCRIPTION
The program pmqtest starts pairs of threads that are synchronized via mq_send/mw_receive() and measures the latency between sending and receiving the message. OPTIONS
-a, --affinity[=PROC] Run on procesor number PROC. If PROC is not specified, run on current processor. -b, --breaktrace=USEC Send break trace command when latency > USEC. This is a debugging option to control the latency tracer in the realtime preemption patch. It is useful to track down unexpected large latencies of a system. -d, --distance=DIST Set the distance of thread intervals in microseconds (default is 500 us). When pmqtest is called with the -t option and more than one thread is created, then this distance value is added to the interval of the threads: Interval(thread N) = Interval(thread N-1) + DIST -f, --forcetimeout=TO Set an artificial delay of the send function to force timeout of the receiver, requires the -T option -i, --interval=INTV Set the base interval of the thread(s) in microseconds (default is 1000 us). This sets the interval of the first thread. See also -d. -l, --loops=LOOPS Set the number of loops. The default is 0 (endless). This option is useful for automated tests with a given number of test cycles. pmqtest is stopped once the number of timer intervals has been reached. -p, --prio=PRIO Set the priority of the process. -S, --smp Test mode for symmetric multi-processing, implies -a and -t and uses the same priority on all threads. -t, --threads[=NUM] Set the number of test threads (default is 1, if this option is not given). If NUM is specified, create NUM test threads. If NUM is not specifed, NUM is set to the number of available CPUs. -T, --timeout=TO Use mq_timedreceive() instead of mq_receive() and specify timeout TO in seconds. EXAMPLES
The following example was running on an 8-way processor: # pmqtest -Sp99 -i100 -d0 #0: ID10047, P99, CPU0, I100; #1: ID10048, P99, CPU0, Cycles 153695 #2: ID10049, P99, CPU1, I100; #3: ID10050, P99, CPU1, Cycles 154211 #4: ID10051, P99, CPU2, I100; #5: ID10052, P99, CPU2, Cycles 156823 #6: ID10053, P99, CPU3, I100; #7: ID10054, P99, CPU3, Cycles 158202 #8: ID10055, P99, CPU4, I100; #9: ID10056, P99, CPU4, Cycles 153399 #10: ID10057, P99, CPU5, I100; #11: ID10058, P99, CPU5, Cycles 153992 #12: ID10059, P99, CPU6, I100; #13: ID10060, P99, CPU6, Cycles 156576 #14: ID10061, P99, CPU7, I100; #15: ID10062, P99, CPU7, Cycles 157957 #1 -> #0, Min 1, Cur 8, Avg 5, Max 18 #3 -> #2, Min 1, Cur 4, Avg 5, Max 18 #5 -> #4, Min 1, Cur 5, Avg 5, Max 19 #7 -> #6, Min 1, Cur 4, Avg 4, Max 17 #9 -> #8, Min 1, Cur 9, Avg 5, Max 18 #11 -> #10, Min 1, Cur 8, Avg 5, Max 18 #13 -> #12, Min 1, Cur 4, Avg 5, Max 29 #15 -> #14, Min 1, Cur 8, Avg 4, Max 17 AUTHORS
Carsten Emde <C.Emde@osadl.org> SEE ALSO
mq_send(3p), mq_receive(3p) 0.1 pmqtest(8)
All times are GMT -4. The time now is 12:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy