100% cpu with save.dat or ext portable please help
-
- Ronin
- Posts: 3
- Joined: 09 Jan 2014, 16:18
- Distribution: Porteus 2.1 kde
- Location: Mexico
100% cpu with save.dat or ext portable please help
Hi
I am fairly new to Linux but after looking around i have found Porteus to be the best for my needs however i could really use some help
i am using Porteus-KDE-v2.1-i486 i built it with developer tools and libre office Firefox the whole shebang if you would.
OK so here is the problem in always fresh mode it runs perfect starts fast opens everything etc no problems yet even when i put a save module not .dat file but the save changes module it dose fine.
but when i put a save file in fat 32 a save.dat file ( I have tried all three possible file extensions with and without encryption ) and i link it in pouteus.cfg like the directions say in install portheus it starts i put my password in or not it loads my file ect but then it starts to consume my Intel possessor dual core 100% well after about 25 30 extra seconds it finally slows down usage but try to open Firefox and again 100% both cores sometimes it starts sometimes nothing and when it starts it freezes, and when it doses nothing it says its and iI try again it says its already running.
and same thing when installed to ext 2,3,4 i know.
ohh and installing from windows has given me best results
tried all on usb 8gb kingston and pny
what i would like is one of 2 things
#1
[1gb fat 32 virtual box]locked [and remaining 6.7 ext ? for porteus ] password protected
I travel alot security is a must
or
#2
[1gb fat 32 virtual box] locked {remainder fat 32 porteus with 2gb expandable file]
but I will take what i can get as long as it KDE and super hidden on my usb with options of virtual box.
thanks for any and all help
I am fairly new to Linux but after looking around i have found Porteus to be the best for my needs however i could really use some help
i am using Porteus-KDE-v2.1-i486 i built it with developer tools and libre office Firefox the whole shebang if you would.
OK so here is the problem in always fresh mode it runs perfect starts fast opens everything etc no problems yet even when i put a save module not .dat file but the save changes module it dose fine.
but when i put a save file in fat 32 a save.dat file ( I have tried all three possible file extensions with and without encryption ) and i link it in pouteus.cfg like the directions say in install portheus it starts i put my password in or not it loads my file ect but then it starts to consume my Intel possessor dual core 100% well after about 25 30 extra seconds it finally slows down usage but try to open Firefox and again 100% both cores sometimes it starts sometimes nothing and when it starts it freezes, and when it doses nothing it says its and iI try again it says its already running.
and same thing when installed to ext 2,3,4 i know.
ohh and installing from windows has given me best results
tried all on usb 8gb kingston and pny
what i would like is one of 2 things
#1
[1gb fat 32 virtual box]locked [and remaining 6.7 ext ? for porteus ] password protected
I travel alot security is a must
or
#2
[1gb fat 32 virtual box] locked {remainder fat 32 porteus with 2gb expandable file]
but I will take what i can get as long as it KDE and super hidden on my usb with options of virtual box.
thanks for any and all help
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: 100% cpu with save.dat or ext portable please help
welcome on board,
please boot porteus with changes= cheatcode and once you hit 100% CPU usage again please post the output of following command (run in konsole):
thanks
please boot porteus with changes= cheatcode and once you hit 100% CPU usage again please post the output of following command (run in konsole):
Code: Select all
top -b > usage -n 1 && head -n20 usage
Please add [Solved] to your thread title if the solution was found.
-
- Contributor
- Posts: 676
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
- Contact:
Re: 100% cpu with save.dat or ext portable please help
Sometimes I have similar issue - my CPU usage tray tray icon shows 100% but if I open task manager (view all processes options) or execute top the sum for all processes is very less than 100% (read/write disk?)
You have mind and feelings. Be wise and clever.
-
- Ronin
- Posts: 3
- Joined: 09 Jan 2014, 16:18
- Distribution: Porteus 2.1 kde
- Location: Mexico
Re: 100% cpu with save.dat or ext portable please help
fanthom wrote:welcome on board,
please boot porteus with changes= cheatcode and once you hit 100% CPU usage again please post the output of following command (run in konsole):thanksCode: Select all
top -b > usage -n 1 && head -n20 usage
thank you for your reply now when you say cheatcode what would the cheat code be... can yo show me an example please ... like
LABEL kde
MENU LABEL Graphics mode (kde)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/porteus/CHEATCODE timezone=America/Mexico_City volume=100% login=root
TEXT HELP
Run Porteus the best way we can.
Try to autoconfigure graphics
card and use the maximum
allowed resolution
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: 100% cpu with save.dat or ext portable please help
Please read faq or have a look at the link on the board index page (use faq with keyword cheatcode):
http://www.porteus.org/tutorials/26-gen ... -them.html
It depends on where are your /boot and /porteus folders and if you are on linux or windows filesystem. An example is my case, though I use grub legacy and you use syslinux, where my save change folder is /mnt/sda5/32bit_v21/porteus/changes:
from cheatcode tells the system where is porteus so to boot, changes cheatcode specifies where to put the changes folder.
If I would use syslinux the linux instructions should look like:
For windows filesystem you have to create the save.dat folder.
http://www.porteus.org/tutorials/26-gen ... -them.html
It depends on where are your /boot and /porteus folders and if you are on linux or windows filesystem. An example is my case, though I use grub legacy and you use syslinux, where my save change folder is /mnt/sda5/32bit_v21/porteus/changes:
Code: Select all
title porteus on sda5 /32bit_v21 DE KDE
root (hd0,4)
kernel /32bit_v21/boot/syslinux/vmlinuz from=/dev/sda5/32bit_v21 changes=/32bit_v21/porteus/ extramod=/mnt/sda5/32bit_v21/porteus/kde;/mnt/sda5/32bit_v21/pychess/ login=root
initrd /32bit_v21/boot/syslinux/initrd.xz
boot
If I would use syslinux the linux instructions should look like:
Code: Select all
APPEND initrd=initrd.xz from=/dev/sda5/32bit_v21 changes=/32bit_v21/porteus/ timezone=America/Mexico_City volume=100% login=root
Prendre son temps, profiter de celui qui passe.
-
- Ronin
- Posts: 3
- Joined: 09 Jan 2014, 16:18
- Distribution: Porteus 2.1 kde
- Location: Mexico
Re: 100% cpu with save.dat or ext portable please help
Thanks for the last comment
It depends on where are your /boot and /porteus folders and if you are on linux or windows filesystem. An example is my case, though I use grub legacy and you use syslinux, where my save change folder is /mnt/sda5/32bit_v21/porteus/changes:
Code: Select all
title porteus on sda5 /32bit_v21 DE KDE
root (hd0,4)
kernel /32bit_v21/boot/syslinux/vmlinuz from=/dev/sda5/32bit_v21 changes=/32bit_v21/porteus/ extramod=/mnt/sda5/32bit_v21/porteus/kde;/mnt/sda5/32bit_v21/pychess/ login=root
initrd /32bit_v21/boot/syslinux/initrd.xz
boot
from cheatcode tells the system where is porteus so to boot, changes cheatcode specifies where to put the changes folder.
If I would use syslinux the linux instructions should look like:
Code: Select all
APPEND initrd=initrd.xz from=/dev/sda5/32bit_v21 changes=/32bit_v21/porteus/ timezone=America/Mexico_City volume=100% login=root
For windows filesystem you have to create the save.dat folder.
Voltaire: Le mieux est l'ennemi du bien.
I did read up on the subject i ended up trying the From=/dev/my device slot
and it resoled the first problem everything loads great and runs fantastic..
but if i change my usb poof the boot-loader say fro= command is bad because the drive changes from sdb2 to sdf1 lol well it still finds my save file but and starts but lol it lost my backgrounds and slows down again lol not as bad as before but considerably.
any suggestions or away to so that my usb wont lose its drive letter as it were or a something. I have used slax 7.0.8 and I love the persistence feature it runs also it auto-loads drive and file perfect for an on the go system but it has no repository and I really like prtheus but would love to have the portability to be able to go anywhere with my usb and have my 2 partitions fat 32 windows files and fat 32 porteus withbackgrounds that don't change as well as to save my programs that i leave open on exit.
but what i keep running into it that porteus look for the file and find and loas ect but if direction is not specified brick wall everything slows like it has to search itself again to find the files...
again thanks for any help!
thanks again
It depends on where are your /boot and /porteus folders and if you are on linux or windows filesystem. An example is my case, though I use grub legacy and you use syslinux, where my save change folder is /mnt/sda5/32bit_v21/porteus/changes:
Code: Select all
title porteus on sda5 /32bit_v21 DE KDE
root (hd0,4)
kernel /32bit_v21/boot/syslinux/vmlinuz from=/dev/sda5/32bit_v21 changes=/32bit_v21/porteus/ extramod=/mnt/sda5/32bit_v21/porteus/kde;/mnt/sda5/32bit_v21/pychess/ login=root
initrd /32bit_v21/boot/syslinux/initrd.xz
boot
from cheatcode tells the system where is porteus so to boot, changes cheatcode specifies where to put the changes folder.
If I would use syslinux the linux instructions should look like:
Code: Select all
APPEND initrd=initrd.xz from=/dev/sda5/32bit_v21 changes=/32bit_v21/porteus/ timezone=America/Mexico_City volume=100% login=root
For windows filesystem you have to create the save.dat folder.
Voltaire: Le mieux est l'ennemi du bien.
I did read up on the subject i ended up trying the From=/dev/my device slot
and it resoled the first problem everything loads great and runs fantastic..
but if i change my usb poof the boot-loader say fro= command is bad because the drive changes from sdb2 to sdf1 lol well it still finds my save file but and starts but lol it lost my backgrounds and slows down again lol not as bad as before but considerably.
any suggestions or away to so that my usb wont lose its drive letter as it were or a something. I have used slax 7.0.8 and I love the persistence feature it runs also it auto-loads drive and file perfect for an on the go system but it has no repository and I really like prtheus but would love to have the portability to be able to go anywhere with my usb and have my 2 partitions fat 32 windows files and fat 32 porteus withbackgrounds that don't change as well as to save my programs that i leave open on exit.
but what i keep running into it that porteus look for the file and find and loas ect but if direction is not specified brick wall everything slows like it has to search itself again to find the files...
again thanks for any help!
thanks again
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: 100% cpu with save.dat or ext portable please help
So that your usb key be identified properly whatever the computer:
Boot into porteus with your usb key plugged in do:
And look at the output.
This will give you the uuid or universal unique identifier for your usb partition and some useful information. Put these in the appropriate place into your syslinux instructions according to the following example:
from=/dev/disk/by-uuid/b423a828-0c40-4738-b7e2-18621c769a47 changes=/dev/disk/by-uuid/b423a828-0c40-4738-b7e2-18621c769a47/porteus/modules
See fanthom comments next post.
Boot into porteus with your usb key plugged in do:
Code: Select all
root@porteus:~# blkid
This will give you the uuid or universal unique identifier for your usb partition and some useful information. Put these in the appropriate place into your syslinux instructions according to the following example:
from=/dev/disk/by-uuid/b423a828-0c40-4738-b7e2-18621c769a47 changes=/dev/disk/by-uuid/b423a828-0c40-4738-b7e2-18621c769a47/porteus/modules
See fanthom comments next post.
Last edited by francois on 12 Jan 2014, 22:56, edited 2 times in total.
Prendre son temps, profiter de celui qui passe.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: 100% cpu with save.dat or ext portable please help
@francois
your examples are not correct. there is no need to provide /dev/disk/by-uuid/ as it will confuse linuxrc. as per cheatcodes.txt description:
so it should be:
your examples are not correct. there is no need to provide /dev/disk/by-uuid/ as it will confuse linuxrc. as per cheatcodes.txt description:
Code: Select all
SPECIAL NOTE FOR USING CHEATCODES WITH 'LABEL' AND 'UUID':
If you specify a LABEL or UUID with a cheatcode, remember that all
portions of these commands are case sensitive. You should use a
unique label for each of your partitions if you wish to use device
labels with your cheatcodes. Use the 'blkid' command to view your
device's UUID and LABEL. Using UUID and LABEL can be quite handy
because they are unique to your device, and your data will be found
and properly mapped on different hardware configurations.
Every cheatcode which contains a /path can take advantage of 'UUID:'
and 'LABEL:' extensions.
Examples:
changes=UUID:STrING-0F-ChARACtERS/path/file.dat
extramod=LABEL:YourLabelName/path/to_folder/with_modules
from=UUID:STrING-0F-ChARACtERS/path/folder
rootcopy=LABEL:YourLabelName/path/to_folder/with_files
Code: Select all
from=UUID:b423a828-0c40-4738-b7e2-18621c769a47
Please add [Solved] to your thread title if the solution was found.
-
- Contributor
- Posts: 676
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
- Contact:
Re: 100% cpu with save.dat or ext portable please help
If many data are created in ram memory and used memory increases quickly then which process should show this?
You have mind and feelings. Be wise and clever.