Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-30-2013, 05:41 PM   #1
h1ro
Enthusiast
h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.
 
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?
h1ro is offline   Reply With Quote
Old 03-30-2013, 06:47 PM   #2
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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"
twobob is offline   Reply With Quote
Advert
Old 03-30-2013, 07:52 PM   #3
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by h1ro View Post
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?
So why don't you install KUAL and the KUAL function buttons that block unwanted updates?

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.
knc1 is offline   Reply With Quote
Old 03-30-2013, 08:04 PM   #4
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by knc1 View Post
We sometimes get tired of creating all of these stupid update files for people.
hold on there, partner! it is VERY much appreciated!

brianinmaine is offline   Reply With Quote
Old 03-31-2013, 05:14 PM   #5
h1ro
Enthusiast
h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.
 
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.
h1ro is offline   Reply With Quote
Advert
Old 03-31-2013, 06:21 PM   #6
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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.
twobob is offline   Reply With Quote
Old 04-01-2013, 03:46 PM   #7
NullNix
Guru
NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.
 
Posts: 929
Karma: 15576314
Join Date: Jan 2013
Location: Ely, Cambridgeshire, UK
Device: Kindle Oasis 3, Kindle Oasis 1
Quote:
Originally Posted by h1ro View Post
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.
Welcome to the New World, and all that. Forums are so much better than mailing lists! You can't filter or change the user interface or score or... but you can have animated smileys!

(Bah. I don't understand it either.)
NullNix is offline   Reply With Quote
Old 04-01-2013, 04:28 PM   #8
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
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!
twobob is offline   Reply With Quote
Old 04-01-2013, 05:59 PM   #9
h1ro
Enthusiast
h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.
 
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.
h1ro is offline   Reply With Quote
Old 04-01-2013, 06:14 PM   #10
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
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.
knc1 is offline   Reply With Quote
Old 04-02-2013, 06:37 AM   #11
h1ro
Enthusiast
h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.
 
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.
h1ro is offline   Reply With Quote
Old 04-02-2013, 06:56 AM   #12
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by h1ro View Post
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.
You should still firewall your device.

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.
knc1 is offline   Reply With Quote
Old 04-02-2013, 07:25 AM   #13
h1ro
Enthusiast
h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.h1ro ought to be getting tired of karma fortunes by now.
 
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.
h1ro is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:51 PM.


MobileRead.com is a privately owned, operated and funded community.