| To: | Mark Goodwin <mgoodwin@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] Difference between: kernel.percpu.cpu.user and kernel.pernode.cpu.user |
| From: | Shirshendu Chakrabarti <shirshendu@xxxxxxx> |
| Date: | Thu, 27 Nov 2014 17:23:07 +0530 |
| Cc: | pcp@xxxxxxxxxxx |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <54770155.9000101@xxxxxxxxxx> |
| References: | <CALg+ggn8w2nxuUpZWWEUY5GHeOo2QKZ5+pPwaxU0PMAejFwtig@xxxxxxxxxxxxxx> <CALg+ggkbEYhTCCxSp1t-gQ7NbXhsYEcHCv4MCGvsndaN1G3dMA@xxxxxxxxxxxxxx> <5476DA8F.2060202@xxxxxxxxxx> <CALg+ggm41U2U6XQcf_vrKnfATGLWb85w6A2bnHa4Gt2wurw04Q@xxxxxxxxxxxxxx> <54770155.9000101@xxxxxxxxxx> |
|
Hi Mark,
Please see the responses below: Please notice the cpu0 in the string above (bold) Yes, I see the symlinks below for On Thu, Nov 27, 2014 at 4:17 PM, Mark Goodwin <mgoodwin@xxxxxxxxxx> wrote: On 11/27/2014 07:34 PM, Shirshendu Chakrabarti wrote: Yes it is a SMP kernel: [root@pcp-test-shir3 pmlogger]# uname -a Linux pcp-test-shir3.ops.use1b.aws.talk.to 3.4.71-63.98.amzn1.x86_64 #1ÂSMPÂTue Dec 3 01:59:29 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux please see the SMP in the string above (bold). Also, top command, after pressing 1 top - 11:22:33 up 10 days, 16:54, Â1 user, Âload average: 0.00, 0.01, 0.05 Tasks: Â65 total,  1 running, Â64 sleeping,  0 stopped,  0 zombie Cpu0ÂÂ: Â0.3%us, Â0.0%sy, Â0.0%ni, 99.7%id, Â0.0%wa, Â0.0%hi, Â0.0%si, Â0.0%st Mem:  Â608468k total,  192808k used,  415660k free,  Â99576k buffers Swap:    Â0k total,    Â0k used,    Â0k free,  Â34620k cached  PID USER   ÂPR ÂNI ÂVIRT ÂRES ÂSHR S %CPU %MEM  ÂTIME+ ÂCOMMAND                                 Â   1 root   Â20  0 19356 1352 1040 S Â0.0 Â0.2  0:00.83 init                                      2 root   Â20  0   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 kthreadd                                    3 root   Â20  0   0  Â0  Â0 S Â0.0 Â0.0  0:00.07 ksoftirqd/0                               Â   4 root   Â20  0   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 kworker/0:0                               Â   5 root   Â20  0   0  Â0  Â0 S Â0.0 Â0.0  0:00.01 kworker/u:0                               Â   6 root   ÂRT  0   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 migration/0                               Â   7 root    0 -20   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 cpuset                                     8 root    0 -20   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 khelper                                 Â   9 root   Â20  0   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 kdevtmpfs                                Â  Â10 root    0 -20   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 netns                                  Â  Â11 root   Â20  0   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 kworker/u:1                               Â  Â15 root   Â20  0   0  Â0  Â0 S Â0.0 Â0.0  0:00.51 xenwatch                                   Â16 root   Â20  0   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 xenbus                                    Â83 root   Â20  0   0  Â0  Â0 S Â0.0 Â0.0  0:02.49 sync_supers                               Â  Â85 root   Â20  0   0  Â0  Â0 S Â0.0 Â0.0  0:00.08 bdi-default                               Â  Â86 root    0 -20   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 kintegrityd                               Â  Â88 root    0 -20   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 kblockd                                 Â  Â97 root   Â20  0   0  Â0  Â0 S Â0.0 Â0.0  0:36.86 kworker/0:1                               Â  102 root    0 -20   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 md                                      200 root   Â20  0   0  Â0  Â0 S Â0.0 Â0.0  0:00.24 khungtaskd                                  205 root   Â20  0   0  Â0  Â0 S Â0.0 Â0.0  0:00.21 kswapd0                                 Â  206 root   Â25  5   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 ksmd                                     276 root   Â20  0   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 fsnotify_mark                              Â  281 root    0 -20   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 crypto                                    288 root    0 -20   0  Â0  Â0 S Â0.0 Â0.0  0:00.00 kthrotld                       Â
[root@pcp-test-shir3 node0]# pwd /sys/devices/system/node/node0 [root@pcp-test-shir3 node0]# ls -l total 0 --w------- 1 root root 4096 Nov 26 07:29 compact lrwxrwxrwx 1 root root  Â0 Nov 26 07:29 cpu0 -> ../../cpu/cpu0 -r--r--r-- 1 root root 4096 Nov 26 07:29 cpulist -r--r--r-- 1 root root 4096 Nov 16 18:28 cpumap -r--r--r-- 1 root root 4096 Nov 26 07:29 distance drwxr-xr-x 3 root root  Â0 Nov 26 07:29 hugepages -r--r--r-- 1 root root 4096 Nov 16 18:28 meminfo lrwxrwxrwx 1 root root  Â0 Nov 26 07:29 memory0 -> ../../memory/memory0 lrwxrwxrwx 1 root root  Â0 Nov 26 07:29 memory1 -> ../../memory/memory1 lrwxrwxrwx 1 root root  Â0 Nov 26 07:29 memory2 -> ../../memory/memory2 lrwxrwxrwx 1 root root  Â0 Nov 26 07:29 memory3 -> ../../memory/memory3 lrwxrwxrwx 1 root root  Â0 Nov 26 07:29 memory4 -> ../../memory/memory4 -r--r--r-- 1 root root 4096 Nov 16 18:32 numastat drwxr-xr-x 2 root root  Â0 Nov 26 07:29 power -rw-r--r-- 1 root root 4096 Nov 26 07:29 scan_unevictable_pages lrwxrwxrwx 1 root root  Â0 Nov 16 18:28 subsystem -> ../../../../bus/node -rw-r--r-- 1 root root 4096 Nov 16 18:28 uevent -r--r--r-- 1 root root 4096 Nov 26 07:29 vmstat I see a cpumap file, as can be seen above. [root@pcp-test-shir3 node0]# less cpumap 00000001 cpumap (END)Â
I am not sure if I can get you access to one of our machines. I will have to consult with our manager. Thanks, Shirshendu Chakrabarti  Regards |
| Previous by Date: | Re: [pcp] Difference between: kernel.percpu.cpu.user and kernel.pernode.cpu.user, Mark Goodwin |
|---|---|
| Next by Date: | Re: [pcp] Difference between: kernel.percpu.cpu.user and kernel.pernode.cpu.user, Shirshendu Chakrabarti |
| Previous by Thread: | Re: [pcp] Difference between: kernel.percpu.cpu.user and kernel.pernode.cpu.user, Mark Goodwin |
| Next by Thread: | Re: [pcp] Difference between: kernel.percpu.cpu.user and kernel.pernode.cpu.user, Shirshendu Chakrabarti |
| Indexes: | [Date] [Thread] [Top] [All Lists] |