LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-29-2009, 02:34 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Rep: Reputation: 51
Tool for slow OS?


I am searching for tool /script which can detect the reason of slow OS?
 
Old 11-29-2009, 02:55 AM   #2
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Original Poster
Rep: Reputation: 51
or if we can have some check points for checking what is making it slow.
 
Old 11-29-2009, 04:13 AM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Poor performance is usually caused by ram overuse or harddisk disk settings. There are many articles on the web. Here is one that google provided.

http://www.linuxforums.org/articles/...uning_107.html

Have a read and try what it suggests.

Cheers,

Evo2.
 
Old 11-29-2009, 04:58 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,061

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Quote:
Originally Posted by your_shadow03 View Post
I am searching for tool /script which can detect the reason of slow OS?
I am afraid that the only comprehensive tool that I know for the investigation of slowness is an unpleasant, squidgy, grey thing that sits between your ears. Getting a good one of these, which really works well, is a worthwhile exercise, but does take a little time.

I have conceived of the idea of a 'little' script that goes round the various sources of information and highlights things that seem out of order, but I haven't actually done anything about that idea, and, if history is a guide, I probably never will.
 
Old 11-29-2009, 05:26 AM   #5
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Still waiting for other geeks too!!
Come on , help me out !!!
 
Old 11-29-2009, 05:32 AM   #6
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi your_shadow03,

Have you read the article the link posted by evo2 provides? There's some pretty good info and tool explanation in there. I'd suggest also you first read that one, use those tools pointed out in there and see if it makes any difference or if at least you can pinpoint what's slowing down your OS.

If you can pinpoint it, then a solution is a lot closer.

Kind regards,

Eric
 
Old 11-29-2009, 05:39 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
First, define "slow". That can mean a lot of things, describe the symptoms you are experiencing.
 
Old 11-29-2009, 05:44 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Yes, definitely a bit vague. Slow doing what? Compared to what: another machine, a benchmark? Or are you just impatient?
 
Old 11-29-2009, 10:21 PM   #9
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Original Poster
Rep: Reputation: 51
By slow, I mean developers are finding slow during logging in, runnign the application, the output gets displayed late etc etc
 
Old 11-29-2009, 10:30 PM   #10
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Still a bit vague, let's see...

Quote:
Originally Posted by your_shadow03 View Post
By slow, I mean developers are finding slow during logging in
How are they logging in? Are them logging into locally or via network? Are they logging in into a full blown desktop or in command line?

There could be all kind of issues here, ranging from network related problems to hardware problems, or simply a distro that's not suited for your hardware.

Quote:
runnign the application, the output gets displayed late etc etc
Try monitoring your ram usage, and look very carefully at the swap usage and the disk activity while operating. Check also that you are using the right driver for your video card, and if your disks are non-SATA, check that you are using the right driver and that your UDMA is enabled.

Try these:

Code:
$ glxinfo | head
# change sda by whatever your main disk drive is
$ hdparm -tT /dev/sda
$hdparm -cdi /dev/sda
# run this one when your system starts becoming unresponsive
# or whatever problem you are experiencing, so we can see
# if it's your ram the problem
$ free
If you are using remote logins, you should also try to ping your box from the remote one and see if there's any kind of latency issue.
 
Old 11-30-2009, 12:03 AM   #11
itsbrad212
Member
 
Registered: Nov 2009
Location: Chicago
Distribution: Arch and OpenBSD
Posts: 104

Rep: Reputation: 19
What distribution are you using? I have found that ext4 works better and faster than the past ext's and lvm.

Also, from my experience, the CPU has more effect on the speed then the memory. You may want to upgrade the cpu and make sure your motherboard has support for it ^^
 
Old 11-30-2009, 12:18 AM   #12
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Quote:
Originally Posted by itsbrad212 View Post
What distribution are you using? I have found that ext4 works better and faster than the past ext's and lvm.
Better? yes, probably. Significant? well, most times it's not. In any case, if there's a serious performance problem, ext3 vs ext4 will not fix anything. LVM is not a file system either, it's just a convenient way to manage logical volumes providing capabilities that old fs's lack, like live snapshots or on the fly resizing etc. LVM volumes will be formated with ext3/2, ext4, reiserfs or whatever you prefer, just like regular partitions, so using LVM or not is irrelevant.

Quote:
Also, from my experience, the CPU has more effect on the speed then the memory.
Then you never ran out of ram. When you start swapping heavily because you are out of ram the performance drops by several orders of magnitude, making it completely impossible to operate until the kernel can find enough cpu cycles for the OOM killer to run and kill the offending process, and that only after the swap has filled, which can take enormous amounts of time.

Where the bottleneck will like will only depends on the task at hand of course, which is why I asked for more info on first place, because the thread is quite vague. But suggesting to upgrade the cpu as the solution when we don't even know where the problem lies is maybe not the best option.
 
Old 11-30-2009, 12:35 AM   #13
itsbrad212
Member
 
Registered: Nov 2009
Location: Chicago
Distribution: Arch and OpenBSD
Posts: 104

Rep: Reputation: 19
Quote:
Originally Posted by i92guboj View Post
Better? yes, probably. Significant? well, most times it's not. In any case, if there's a serious performance problem, ext3 vs ext4 will not fix anything. LVM is not a file system either, it's just a convenient way to manage logical volumes providing capabilities that old fs's lack, like live snapshots or on the fly resizing etc. LVM volumes will be formated with ext3/2, ext4, reiserfs or whatever you prefer, just like regular partitions, so using LVM or not is irrelevant.



Then you never ran out of ram. When you start swapping heavily because you are out of ram the performance drops by several orders of magnitude, making it completely impossible to operate until the kernel can find enough cpu cycles for the OOM killer to run and kill the offending process, and that only after the swap has filled, which can take enormous amounts of time.

Where the bottleneck will like will only depends on the task at hand of course, which is why I asked for more info on first place, because the thread is quite vague. But suggesting to upgrade the cpu as the solution when we don't even know where the problem lies is maybe not the best option.
Well, when I was in gparted, it showed LVM2 as the filesystem. So I take it that gparted is incorrect? I originally had fedora 12 on lvm2, as gparted said, so I installed it on ext4 and it was SUPER FAST. And I don't recall saying that upgrading the CPU was exactly the solution to his problem. I gave my opinion on the fact because in a post, evo2 said that the problem is ram, but you can just reboot the machine and every thing's dandy. I would really like to have the author of this thread give us a better description on the "slow" problem. For example: it could be a desktop environment that uses alot of resources, like kde and gnome, as opposed to xfce and fluxbox.
 
Old 11-30-2009, 01:26 AM   #14
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,072

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Quote:
Originally Posted by itsbrad212 View Post
Well, when I was in gparted, it showed LVM2 as the filesystem.
gparted doesn't support lvm at all, that's why it won't show any fs inside an lvm partition. All it does is to display the LVM label so you know that, but nothing else. It's one of the features I'd like to see in gparted because there's really no decent GUI for the LVM tools, however the command line ones are easy to deal with and work well.

http://gparted.sourceforge.net/features.php

In that table it shows that gparted can only detect LVM groups, but it will not show the fs('s) inside it, nor can do it any other thing. You can think of it as a partition containing partitions, each of which can have a different format. So, on a single LVM volume group you can have lots of different pieces with different formats.

It all is a bit confusing if you have no experience with it because it's not the typical setup you find in other OSes, but there are good manuals around. Once you understand the terminology LVM is much more clear, but that exceeds the purpose of this thread by far.
 
Old 11-30-2009, 01:53 AM   #15
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
type more /proc/meminfo and post the output
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
tool to slow down processor under linux/solaris tomaszadamczyk Linux - Software 6 01-30-2008 03:21 PM
Suse 9.2 & SATA - Slow, Slow, Slow jess1975 SUSE / openSUSE 6 01-28-2007 12:17 PM
system-config-network tool unusable + very slow boot anax93 Linux - Wireless Networking 3 07-26-2006 12:46 PM
Help!:ImageMagik convert tool very very slow James_dean Linux - Software 2 10-13-2005 11:09 PM
Music slow down/transcription tool like "transcribe" boutrosboutros Linux - Software 0 11-02-2004 01:25 AM


All times are GMT -5. The time now is 06:22 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration