![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 41
Karma: 543274
Join Date: Dec 2012
Device: Kobo Aura HD, Kobo Glo HD
|
cvm
So, finally got around to install all the hacks yet again - I always lose the usbnetwork and such additions because of the stupid forced updates and lost motivation to do this stupid task of putting all these .update files there again.
Anyways, now I did it once again and looked into top and I saw: 1377 root 20 0 165m 63m 16m S 9.7 25.4 3:43.51 cvm This is ridiculous, over 10% cpu and lots of RAM usage while I'm doing *nothing*. This can't be good for battery life. Is this normal or am I doing something stupid? Do we have to accept this? ![]() |
![]() |
![]() |
![]() |
#2 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
cvm runs the guts of the Amazon stuff.
The majority of that footprint will be the loaded amazon bits and bats. Perhaps the %age is a background task such as indexing, I'm vague on the details not having a PW but that is my suspicion. So normal? Yes, Good? "I got nothing" |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
But I can understand your feelings about "the stupid task of putting all these update files" on the machine. We sometimes get tired of creating all of these stupid update files for people. |
|
![]() |
![]() |
![]() |
#4 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
|
|
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 41
Karma: 543274
Join Date: Dec 2012
Device: Kobo Aura HD, Kobo Glo HD
|
Good news: it was not normal. Today I looked again, I had rebooted in the meantime, and cvm mostly does nothing when I'm doing nothing.
But then when I next touched it later and started KUAL again the kindle rebooted. I would like syslog, netconsole,... What causes such reboot? OOM? I would like to know what exactly fucked it up, and so on... I had the kindle running all night, logged into my irssi screen and battery is still quite full. I only disabled the light. I will time how long it will hold out. BTW having IRC on the kindle is awesome. Personally, as a lunix guy I find it hard to start using this thing and developing properly with all the important info spread in super long threads. But I've been trying to find out, been reading for days and days now. Sometimes with some week of pause though. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
so... look in the logs then... the reboot was probably the memory capped limit.. check the upstart configs.
you can always just restart cvm if it plays up again. |
![]() |
![]() |
![]() |
#7 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 929
Karma: 15576314
Join Date: Jan 2013
Location: Ely, Cambridgeshire, UK
Device: Kindle Oasis 3, Kindle Oasis 1
|
Quote:
(Bah. I don't understand it either.) |
|
![]() |
![]() |
![]() |
#8 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
hehehe. Advanced search FTW!
|
![]() |
![]() |
![]() |
#9 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 41
Karma: 543274
Join Date: Dec 2012
Device: Kobo Aura HD, Kobo Glo HD
|
There's an easy way to get rid of cvm in case you don't want to run any amazon stuff. I'm only testing koreader right now, so now I don't need amazon to waste my precious CPU or RAM.
logged in via ssh you run: stop x sleep 5 /mnt/us/koreader/koreader.sh /mnt/us/documents There's still strange network activity, some kind of ping i guess. kindle.local.58901 > ec2-23-23-189-33.compute-1.amazonaws.com.49317: [udp sum ok] UDP, length 136 00:03:59.196183 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 164) kindle.local.58901 > ec2-23-23-189-33.compute-1.amazonaws.com.40317: [udp sum ok] UDP, length 136 00:04:02.209964 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 164) kindle.local.58901 > ec2-23-23-189-33.compute-1.amazonaws.com.33434: [udp sum ok] UDP, length 136 00:04:02.210206 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 164) kindle.local.58901 > ec2-23-23-189-33.compute-1.amazonaws.com.49317: [udp sum ok] UDP, length 136 00:04:02.210456 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 164) kindle.local.58901 > ec2-23-23-189-33.compute-1.amazonaws.com.40317: [udp sum ok] UDP, length 136 00:04:05.219253 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 164) kindle.local.58901 > ec2-23-23-189-33.compute-1.amazonaws.com.33434: [udp sum ok] UDP, length 136 Last edited by h1ro; 04-01-2013 at 06:08 PM. |
![]() |
![]() |
![]() |
#10 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
KUAL + KUAL firewall will deal with that network activity.
|
![]() |
![]() |
![]() |
#11 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 41
Karma: 543274
Join Date: Dec 2012
Device: Kobo Aura HD, Kobo Glo HD
|
you can stop more stuff, so the processes don't consume CPU:
stop framework stop x stop otaupd stop phd stop tmd stop lipcd sleep 5 /mnt/us/koreader/koreader.sh /mnt/us/documents & I get absolutely no outgoing connection whatsoever now. Last edited by h1ro; 04-02-2013 at 06:46 AM. |
![]() |
![]() |
![]() |
#12 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Network services that require changes in the firewall rules are only supported with the KUAL firewall infrastructure. If totally against KUAL - just pull the details out of the firewall script and run it by hand. |
|
![]() |
![]() |
![]() |
#13 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 41
Karma: 543274
Join Date: Dec 2012
Device: Kobo Aura HD, Kobo Glo HD
|
Actually I do run a firewall, on my router. I'm sure this advice is still important for other people trying this out though.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Least intrusive way to order cvm classpath? | ixtab | Kindle Developer's Corner | 7 | 11-12-2012 12:04 PM |
CPU Load for process /usr/java/bin/cvm ... | pirl8 | Kindle Developer's Corner | 2 | 09-16-2012 07:02 AM |
Troubleshooting Can't Update & Jailbreak due to cvm checksum failure | driverever | Amazon Kindle | 7 | 01-24-2011 01:45 AM |