LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 08-28-2006, 03:19 PM   #1
Ed Vaessen
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Rep: Reputation: 0
I want control of my machine DAMNIT!!!


I am completely fed up with a multitasking/multiuser Linux platform that in its utter stupidity is able to let the user loose control completely.
I have SuSE10.0 and when I use a CPU and/or disc intensive process (like MainActor for video rendering), that proces takes over the machine completely!
So when I want to renice that process, even the renice command itself is not available anymore. I can type in "man renice" to get the syntax right but after that I might as well make myself a cup of coffee and drink it and after I have drunk it, I might go back to the machine and perhaps it has already come up with the manual.

How in heavens name is it possible that an ordinary process like video rendering is able to get such privilige that it can overpower the whole machine, while someone at the keyboard who is trying to get access to the machine is completely ignored!

I always thought that a multitasking/multiuser system somehow is clever enough to realise that when someone is typing something at the keyboard, that person should not be kept waiting for minutes and minutes without the machine noticing his presence.
I can type Ctrl-Alt-F1 to go to another console but also there, while trying to log in, I am completely ignored! I am timed out! GOD DAMNIT!!!!

What if the superuser is desperately trying to get access to the machine for any emergency and the machine tells him that he is not important because the video rendering of MainActor has ALL priority? Na na nana na!
 
Old 08-28-2006, 05:21 PM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
try:
Code:
nice command
 
Old 08-28-2006, 05:22 PM   #3
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Or maybe, it's not your system, and not linux at all. Maybe, just maybe, its MAIN ACTOR. Multi-tasking works great in linux. I've never had any program freeze up my system, even when I'm renering a dvd from my digital camcorder.
In other words... STOP YOUR COMPLAINING AND DON'T USE WHAT YOU DON'T LIKE
 
Old 08-28-2006, 05:45 PM   #4
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
The Linux kernel is (by default) optimized for throughput, not for response time to keyboard/mouse events. If you have a cpu/disk intensive process, the kernel will favor that process. If you want a kernel that is more responsive to user events, compile a fully preemptible kernel.

I'm not sure what the default kernel on SuSE has enabled, but you can tell if your kernel is preemptible by running uname -a. A preemptible kernel is indicated with the word PREEMPT. For example, here's the output on my system:
Code:
zmk@thinkpad:~$ uname -a
Linux thinkpad 2.6.17.11 #41 PREEMPT Fri Aug 25 00:22:39 PDT 2006 i686 unknown unknown GNU/Linux
Under Linux, a process can alter its scheduling (depending on its privileges). Some audio/video applications will grab realtime scheduling if possible. If MainActor is doing this or something similar, it will have much higher priority over other applications.

I have never had problems similar to what you are experiencing. Response is downright snappy on my Linux computers.
 
Old 08-29-2006, 12:39 AM   #5
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Also, what are the specs of your PC in terms of the CPU and RAM?
 
Old 08-29-2006, 07:34 AM   #6
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
when your machine starts slowing down open a terminal window and type $ top - confirm first that the video program is definately the process using up all the resources. Also check your RAM usage and disk utilisation..

I assume you have a pretty powerful machine with lots of RAM and fast Hard Disk etc if your doing the video work... how Much RAM do you have and also how big is your swapspace ?
 
Old 08-29-2006, 04:16 PM   #7
Ed Vaessen
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by zhangmaike
The Linux kernel is (by default) optimized for throughput, not for response time to keyboard/mouse events. If you have a cpu/disk intensive process, the kernel will favor that process. If you want a kernel that is more responsive to user events, compile a fully preemptible kernel.

I'm not sure what the default kernel on SuSE has enabled, but you can tell if your kernel is preemptible by running uname -a. A preemptible kernel is indicated with the word PREEMPT. For example, here's the output on my system:
Code:
zmk@thinkpad:~$ uname -a
Linux thinkpad 2.6.17.11 #41 PREEMPT Fri Aug 25 00:22:39 PDT 2006 i686 unknown unknown GNU/Linux
Under Linux, a process can alter its scheduling (depending on its privileges). Some audio/video applications will grab realtime scheduling if possible. If MainActor is doing this or something similar, it will have much higher priority over other applications.

I have never had problems similar to what you are experiencing. Response is downright snappy on my Linux computers.
The response to the uname -r command is:

Linux GorisPC 2.6.13-15.11-default #1 Mon Jul 17 09:43:01 UTC 2006 i686 athlon i386 GNU/Linux
 
Old 08-29-2006, 04:19 PM   #8
Ed Vaessen
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by J.W.
Also, what are the specs of your PC in terms of the CPU and RAM?
I have a 512Mb machine with AMD Athlon XP 1800+ processor.
 
Old 08-29-2006, 04:31 PM   #9
WhiskeyTangoFoxtrot
Member
 
Registered: Oct 2005
Location: Windsor, Ontario, Canada
Distribution: Fedora Core 5,4,3 & Ubuntu 6.06, 8.10
Posts: 403
Blog Entries: 1

Rep: Reputation: 30
Quote:
Originally Posted by Ed Vaessen
I have a 512Mb machine with AMD Athlon XP 1800+ processor.
im no expert in video edditing but i think thats "chicken shit". ofcourse that depends on the parameters of the file so excuse me if its something small ur rendering.

Last edited by WhiskeyTangoFoxtrot; 08-29-2006 at 04:40 PM.
 
Old 08-29-2006, 04:46 PM   #10
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Also, my kernel is setup with "CFQ" (completely fair queue) scheduling, this sped up the response of other programs while a major cpu drain is in progress.
The two other schedulers availble are "Anticipatory" and "Deadline". See "Block Layer -> IO Schedulers" section when configuring your kernel.
 
Old 09-01-2006, 03:06 PM   #11
Ed Vaessen
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by -=Graz=-
when your machine starts slowing down open a terminal window and type $ top - confirm first that the video program is definately the process using up all the resources. Also check your RAM usage and disk utilisation..

I assume you have a pretty powerful machine with lots of RAM and fast Hard Disk etc if your doing the video work... how Much RAM do you have and also how big is your swapspace ?
What suprises me is that when the machine is started, the physical RAM use is already 450Mb, leaving about 60Mb free for other applications to start. But things vary. Three days ago, when using kino to render a movie (in my first post MainActor was mentioned but I meant kino) the whole of the physical RAM was used (only a few megabyte were left free), while half the swap space was used, being about 250Mb of 512Mb. This evening, under what I expected to be the same circumstances), no swap space is demanded at all (though once again the physical RAM is used nearly comletely, only a few megabyte free) and the response of the machine was a bit sluggish while kino was rendering. Kino was using about 95% of the CPU and hardly any RAM. When renicing the program, the machine became very responsive.
I think I will give new information when things are getting as bad as they did a few days ago, when the machine was nearly unusable.
 
Old 09-01-2006, 03:32 PM   #12
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
Quote:
What suprises me is that when the machine is started, the physical RAM use is already 450Mb, leaving about 60Mb free for other applications to start.
When you start your machine, and the memory usage is this high (I'm assuming you're not counting memory used for cache), run top and sort the display relative to memory usage (it's sorted by the %CPU column by default, use the < and > keys to move the sorting column left or right respectively; on my system, pressing > once is enough to sort by %MEM since it is directly adjacent and to the right of the %CPU column).

The will show what process (if any) is hogging your memory.

By the way, the original symptom reported by your first post now sounds more like your computer was "thrashing" - using so much swap that the head of your disk drive had to seek back and forth for virtually every memory read, slowing down disk access time. Because disk activity is slow, and every process is waiting for disk I/O time rather than CPU time, your system will REALLY slow down. This only happens when your computer is under incredibly high load (load beyond your computer's capability).

Last edited by zhangmaike; 09-01-2006 at 03:37 PM.
 
  


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
Control multiple machine from one machine with help of network spinner_0 Linux - Networking 4 10-27-2005 07:20 AM
Damnit, I'm almost friggin nocturnal orange400 General 11 08-28-2004 06:53 AM
retaining control of remote machine, updating kernel h_lina_k Linux - Newbie 1 02-04-2004 11:07 PM
Can't launch redhat-network-control after updating gnome-control-center fedetxf Red Hat 0 12-12-2003 07:12 AM
damnit!!! i cant see what im typing.. fonts are squares iLLuSionZ Linux - Newbie 22 11-18-2003 03:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:35 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