Jump to content

Recommended Posts

Posted

hey guys, i've noticed that my pineapple running on the 3.0.0 firmware runs a bit slow and always has a high cpu (80 to 100%) as in the example below:

Is this normal? I copied as much information in the example so you can check it out:

System
Current Time
Thu Jan 1 01:13:23 UTC 1970
Uptime
1:13
Hostname

Pineapple

CPU

CPU Model
mips
Load Average
81%
1.54, 0.63, 0.27

Memory
Total Available
28.65 MB
Free
16%
4.69 MB
Used
84%
24.09 MB

Swap
Total Available
957.24 MB
Free
100%
956.05 MB
Used
0%
1.19 MB

Storage
rootfs [/]
30%
228.00 KB/768.00 KB
/dev/root [/rom]
100%
5.25 MB/5.25 MB
tmpfs [/tmp]
1%
180.00 KB/14.33 MB
tmpfs [/dev]
0%
0.00 KB/512.00 KB
/dev/mtdblock3 [/overlay]
30%
228.00 KB/768.00 KB
overlayfs:/overlay [/]
30%
228.00 KB/768.00 KB
/dev/sda1 [/usb]
5%
134.98 MB/2.79 GB
Posted

Hmm, I guess it's when i'm running multiple infusions at the same time. shutting down some of them seems to help.

Posted

Hmm, I guess it's when i'm running multiple infusions at the same time. shutting down some of them seems to help.

Execute 'top' from a Terminal Session and report whether uhttpd is at the top of the list.

Posted

hey foxtrot, you mean top in a terminal session on my linux machine (kali)? Don't know if it's possibble on the pineapple but i did on my kali machine and there's nothing that looks like uhttpd. here's the output:

top - 02:39:02 up 19 min, 3 users, load average: 0,19, 0,23, 0,23
Tasks: 140 total, 2 running, 138 sleeping, 0 stopped, 0 zombie
%Cpu(s): 3,2 us, 0,7 sy, 0,0 ni, 85,4 id, 10,5 wa, 0,0 hi, 0,2 si, 0,0 st
KiB Mem: 3939972 total, 752900 used, 3187072 free, 37732 buffers
KiB Swap: 1321980 total, 0 used, 1321980 free, 346972 cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3275 root 20 0 382m 21m 11m S 5,3 0,5 0:43.89 gnome-terminal
2569 root 20 0 148m 14m 5728 S 2,7 0,4 1:03.95 Xorg
3924 root 20 0 859m 133m 34m S 1,3 3,5 1:02.85 iceweasel
3702 root 20 0 32288 2120 1420 S 0,7 0,1 0:07.37 airodump-ng
206 root 0 -20 0 0 0 S 0,3 0,0 0:00.10 kworker/0:1H
3049 root 20 0 47408 796 444 S 0,3 0,0 0:00.10 udisks-daemon
4084 root 20 0 23232 1708 1204 R 0,3 0,0 0:00.03 top
1 root 20 0 10648 836 696 S 0,0 0,0 0:00.56 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.25 ksoftirqd/0
5 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/0:0H
7 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/u:0H
8 root rt 0 0 0 0 S 0,0 0,0 0:00.17 migration/0
9 root 20 0 0 0 0 S 0,0 0,0 0:00.00 rcu_bh
10 root 20 0 0 0 0 S 0,0 0,0 0:00.51 rcu_sched
11 root rt 0 0 0 0 S 0,0 0,0 0:00.00 watchdog/0
12 root rt 0 0 0 0 S 0,0 0,0 0:00.00 watchdog/1
13 root 20 0 0 0 0 S 0,0 0,0 0:00.15 ksoftirqd/1
14 root rt 0 0 0 0 S 0,0 0,0 0:00.00 migration/1
16 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kworker/1:0H
17 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 cpuset
18 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 khelper
19 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kdevtmpfs
20 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 netns
21 root 20 0 0 0 0 S 0,0 0,0 0:00.00 bdi-default
22 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kintegrityd
23 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kblockd
24 root 20 0 0 0 0 R 0,0 0,0 0:01.06 kworker/0:1
25 root 20 0 0 0 0 S 0,0 0,0 0:00.00 khungtaskd
26 root 20 0 0 0 0 S 0,0 0,0 0:00.00 kswapd0
27 root 25 5 0 0 0 S 0,0 0,0 0:00.00 ksmd
28 root 39 19 0 0 0 S 0,0 0,0 0:00.00 khugepaged
29 root 20 0 0 0 0 S 0,0 0,0 0:00.00 fsnotify_mark
30 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 crypto
34 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 kthrotld
36 root 0 -20 0 0 0 S 0,0 0,0 0:00.00 deferwq

Posted (edited)

Hmm, it shouldnt be the uhttpd problem then... If you are running lots of services, remember that the pineapple is not a computer, its still a SOHO router.

From the picture your showing, The pineapple is using only 3% of the CPU.

Edited by Foxtrot
Posted

Yeah, saw that 3% also. I have deleted some infusions.

Its the "status" infusion that indicates the high cpu. So I'm guessing its not a correct value or am i mistaken here

CPU
CPU Model
mips
Load Average
94%
Posted

That 94%, to me I have a feeling that that is the idling cpu percentage, not the cpu percentage it is using, try checking to see if the number 'status' reports is the same as the idle one.

Posted

Nopes, Guess not.

The idle is about 95% now, the cpu% it is using is about 4 and the number that "status" reports is between 30 and 40 now.

Well, I guess the numbers that should be trusted are the ones I get in puTTY with the "top" command. I don't know what the "status" infusion is reporting there but it shoudn't be a problem I think, althought I'm curious about it I will not let my sleep for it :-)

Thanks

Posted (edited)

The value returned by the status infusion is the average of cpu values during the last minute, during the last 5 minutes and during the last 15 minutes, given by uptime command.

The only issue is that the tile gives an instant snapshot of the cpu load but it has to be refreshed frequently to get an adequate value.

I will make test with values returned by top to use with the status infusion.

Edited by Whistle Master

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...