LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 01-25-2012, 01:38 AM   #1
Kees74
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Rep: Reputation: 0
Harddrive working overtime after upgrading from PCLinuxOS 2007 to 2010


I upgraded from PCLinuxOS 2007 to 2010 on an old Compaq laptop two days ago.
The instalation went perfectly and took only about 30-45 minutes. After the bootup,
the desktop screen appeared perfectly and then the fun started. The harddrive is
simply working overtime and it runs literally for hours. I cannot come near the
laptop. Even the clock at bottom right isn't ticking and time gets stuck for about
30 minutes before moving on. At one point it all suddenly stopped however, the
moment I touched the touchpad, it started again and ran for another hour. I left it
to run overnight and this morning everything was quiet again. When I moved my finger
over the touchpad again, it started again and I eventually left for work after an
hour's running this morning. I cannot open any application or even think of doing
anything. Please help! Is there something running in the background or what.
I always thought that this unecessary taking up of resources is reserved for Windows
operating systems.
 
Old 01-25-2012, 02:15 AM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Please could you specify your hardware, which model is your laptop? Looks like it is under heavy load to me,
have you tried go on console and run top to see which processes are using too much ram/cpu ?
If you cant do that on X then go on one of the tty pressing ctrl+alt+(1-6).
Please post the output.

Regards
 
Old 01-25-2012, 02:37 AM   #3
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
PClinuxOS 2007- KDE 3.5.3
PClinuxOS 2010- KDE 4.4/4.5 (depends on the version)

KDE 4.X uses a lot more RAM than KDE 3.X. Your 'hard drive working overtime' will be IMO because you dont have enough RAM to run KDE 4.X well. The hard drive 'working' will be because yor system is using swap due to a lack of RAM. KDE 4.X also likes fast, fairly new video cards. Your old laptop will have an older video card, if it isnt using an intel video chip. That will not be helping.

You could try installing and using Xfce, or Lxde, or one of the WMs (eg fluxbox) instead of KDE.

ukiuki's avide is good as well, and well worth following.

Last edited by cascade9; 01-25-2012 at 05:52 AM.
 
Old 01-25-2012, 04:44 AM   #4
Kees74
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Hi, will install Xfce but need to understand, do I somehow have to uninstall KDE and if so, how do I do this?
 
Old 01-25-2012, 05:14 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Xfce, KDE 4, Gnome etc. etc. can all be installed at the same time.

I switched to Gnome in PCLinuxOS 2011 : The KDE 4 issue was "85 % CPU",
and some heavy hard drive use too.

But I suspect that some of it was "update data bases" ( like # updatedb ).
Some heavy cpu use in Gnome too, but it faded out (to 2-15%) after some time.
 
Old 01-25-2012, 07:21 AM   #6
Kees74
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Original Poster
Rep: Reputation: 0
So, one more question, if I install Xfce in addition to KDE, how will the bootup know to deploy Xfce and not KDE or is there something that I'm missing or some change that I have to do?
 
Old 01-25-2012, 07:33 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
An installed xfce4 should appear in the log in window, kdm or gdm.
Gnome did so.

If you have "automatic log in to KDE" : Log out, and select Xfce.
( You will be asked, if Xfce is to be set as default desktop.)
 
Old 01-25-2012, 07:40 AM   #8
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
OK, without knowing exactly which version of PCLinuxOS 2010 you have (there is 2010.1, 2010.7, 2010.12) I cant direct you to an exact set of screenshots showing you how to do this. Hopefully the written version helps...

*edit- I forgot that you can have an automatic login to KDE. Good point knudfl.

You will need to change your 'session type' at trhe login screen from KDE 4 to Xfce. From what I can see of the 2010 login screens, the selection will be at the bottom of the login screen.

Thats all you have to do to get into Xfce. There might still be some KDE libraries loaded during the boot process, so RAM useage might be higher than if you cleaned out all the KDE stuff (not that fun for a lot of people) but it should be better than loading the KDE desktop by a long shot.

The 'use Xfce' idea will only help if your problem is lack of RAM. I'm 90%+ sure that it is a RAM shortage causing your problem, but you would do best to check top, htop, free-m or the KDE system monitor to see if you are using most/all of your RAM before you go trying to install Xfce. If its not a RAM/CPU use problem, installing Xfce could just make your problems worse....

Last edited by cascade9; 01-25-2012 at 07:57 AM. Reason: Nothing happening here, move along.
 
Old 01-27-2012, 01:11 PM   #9
Kees74
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Original Poster
Rep: Reputation: 0
After a huge struggle, I managed to dump the top results into an output file. I need to paste the results from another computer's browser for you. I'm having problems with mounting a USB stick with VFS telling me: Can't find a valid FAT fs on dev sdb and some invalid media value (0x00). It's a FAT32 fs and works fine on Windows and worked before on PCLinuxOS 2007. Some help with this will be appreciated, however, in the mean while, what is the core data that I should look at in top output to determine whether my problem is RAM related? I have also created a bigger swap file but it didn't help, I probably need to increase the actual partition.
 
Old 01-28-2012, 12:07 AM   #10
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Kees74, you are making things hard for yourself.

IMO we dont need to see your htop/top output, it would have been enough if you checked it yourself. But if you did want to post the output here there is an easy way- bring uop 'top', file-> 'save output as'.

You can save the output as a text file in /home, then go there and open the text file, then copy and post it here. Please use 'code' tags for allthese sorts of readouts, they make the forum neater, you can find the 'code' tags in the controls for the message when you hit 'post', its the '#' symbol. I removed the list of running programs, etc. from my top/htop output.

top-
Code:
top - 15:40:32 up 36 min,  2 users,  load average: 0.10, 0.41, 0.60
Tasks: 235 total,   3 running, 232 sleeping,   0 stopped,   0 zombie
%Cpu(s): 26.6 us,  7.2 sy,  0.0 ni, 64.0 id,  0.7 wa,  1.2 hi,  0.3 si,  0.0 st
Kb Mem:   4053060 total,  2887792 used,  1165268 free,   103240 buffers
Kb Swap:  4194300 total,        0 used,  4194300 free,   498800 cached
IMO its easier to use htop to see if your RAM is being used-

htop-
Code:
  1  [||||||||||||||||||||||||||||||||||              62.3%]     Tasks: 182, 266 thr; 1 running
  2  [||||||||||||||||||||||||||||||||                58.7%]     Load average: 0.10 0.27 0.49 
  Mem[|||||||||||||||||||||||||||||||||||||||   2222/3958MB]     Uptime: 00:41:16
  Swp[                                             0/4095MB]
If your memory was all being used you are running out of RAM. As for how to check that, there is a graphical (basic but still graphical) readout along the top edge of htop. With top, you need to check the numbers.

You can also get this sort of information from 'free -m' command.

Quote:
Originally Posted by Kees74 View Post
I have also created a bigger swap file but it didn't help, I probably need to increase the actual partition.
Creating a bigger swap file wont help at all as long as you already have a decent sized swap file.

The reason why you have performance problems with running out of RAM and usign swap is because the swap file is so much slower than main RAM. If your computer needs to read or write from main RAM, it runs anywhere from 533MB/sec (_very_ old systems using 'PC-66' SDRAM, circa pentium 2-300) or 1.066GB/sec (PC-133, used by late P3s/early cheap P4s) up to nearly 20GB/sec (the newest, fastest DDR3). Even the fastest avaible HDDs are about 150MB/sec, and on older HDD in a laptop with the drive in part filled would be lucky to get 60MB/sec. 30MB/se would eb realistic.

So if your system needs an extra 180MB worth of RAM, it writes 180MB worth of what is sitting in RAM to the HDD. Even at the fastest realistic speed, that will take 3 seconds. Realistic speed is more like 6 seconds. If it needed to free 180MB worth of RAM to write/compared/process information that was already in swap, it will take another 3 seconds to write it, 6 seconds realisticly.

If the 2 files that are being inserted/removed from the swap are interdependant then you have a system that is always swapping, taking 6-12 seconds to do what would take less than a second if you had more RAM.

Last edited by cascade9; 01-28-2012 at 12:08 AM.
 
Old 01-28-2012, 12:55 AM   #11
Kees74
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Well, in that case, it obviously is shortage of RAM. Any idea about the mounting of the flash drive. In fact, I copied everything that I didn't want to loose onto it about a week ago with PCLinuxOS 2007 and now it doesn't want to mount. I've got the Xfce package on there as well but no use if I can't mount it.
 
Old 01-28-2012, 01:25 AM   #12
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
No idea ATM about what has happened with your flash drive.

I dont know why you've got the xfce package on the flash drive anyway. It should be possible to get the package from the flash drive installed into your OS, but thats the hard way.

The easy way would be go open synaptic, search for 'xfce', and then install it from there. I dont know what exact package you should install (I'm not that experienced with PClinuxOS, cant find a decent package search for it, and dont have a running install to check with).
 
1 members found this post helpful.
Old 01-28-2012, 09:26 AM   #13
Kees74
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Original Poster
Rep: Reputation: 0
The reason why I'm doing everything the "hard" way is because I can only boot up safe mode. If you remember at the beginning of this thread, once desktop gui opens it's all fun and games and I therefore cannot simply open package manager. It's command promt for me...
 
Old 01-28-2012, 01:49 PM   #14
Kees74
LQ Newbie
 
Registered: Jan 2010
Posts: 11

Original Poster
Rep: Reputation: 0
I managed to put the Xfce tar file on a cd and successfully extracted it ti /home/kees74gtmp. Now, when Makefile, what target do I specify. I don't really understand where a person is to install packages to. My understanding is that one can do it anywhere but surely there is some logic and suitable place where stuff belong. Please help.
 
Old 01-29-2012, 12:54 AM   #15
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by Kees74 View Post
The reason why I'm doing everything the "hard" way is because I can only boot up safe mode. If you remember at the beginning of this thread, once desktop gui opens it's all fun and games and I therefore cannot simply open package manager. It's command promt for me...
It might be really slow, but IMO its better to have to poke the machine once every 30 minutes for 2-3hrs to get xfce installed from synaptic than it is to be spending far more time trying to get things done the hard way.....

Quote:
Originally Posted by Kees74 View Post
I managed to put the Xfce tar file on a cd and successfully extracted it ti /home/kees74gtmp. Now, when Makefile, what target do I specify. I don't really understand where a person is to install packages to. My understanding is that one can do it anywhere but surely there is some logic and suitable place where stuff belong. Please help.
That doesnt help much.

To get better help, try actually posting what you have done and what you want (eg 'I have downloaded the source code from the xfce site, I want to install it to PClinuxOS 201.10''). If you tell us what you have done and what you want, its a lot easier to figure out than just saying what you want.

It should be easy to install xfce from the command line with PClinuxOS, I just dont know the exact command.

BTW, I did a bit of a search, the package you want from PClinuxOS is 'task-xfce'.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] no sound pclinuxos 2010 dell anon055 Linux - Laptop and Netbook 4 11-08-2010 07:49 AM
pclinuxos 2010 e-17: llibembryo.so.0 cannot open ir0nd4gg3r Linux - Newbie 1 09-11-2010 08:10 PM
LXer: PCLinuxOS 2010 Review LXer Syndicated Linux News 0 04-23-2010 05:20 PM
LXer: PCLinuxOS 2010 Screenshots LXer Syndicated Linux News 0 04-21-2010 04:30 PM
Is SENDMAIL working overtime in your box ?? mickeyboa Fedora 2 08-25-2005 04:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration