LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-05-2008, 10:09 PM   #16
alissonbn
LQ Newbie
 
Registered: Feb 2008
Posts: 18

Original Poster
Rep: Reputation: 0

Quote:
Originally Posted by onebuck View Post
Hi,

'swapoff' the swap. Check again. Then 'swapon' and check.

You might have a problem with your swap space.
yeah, thought that too... well, as i said last post, if i keep turning it off and on again, the priority gets lower. begins with -1 and goes to -2, -3... and so on.

suspecting I had a swap problem, i wrote a small program to fill my memory, and for the first time since slack12, it used the swap, loool!! but in normal days, it's never used. even if i echo 100 > /proc/sys/vm/swapness... I have 768MB of physical memory
 
Old 02-05-2008, 11:44 PM   #17
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
What does happen if you raise the priority of swap?
Why does the tracker deamon with the lowest niceness take the whole cpu?
 
Old 02-06-2008, 11:19 AM   #18
alissonbn
LQ Newbie
 
Registered: Feb 2008
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Alien_Hominid View Post
What does happen if you raise the priority of swap?
Why does the tracker deamon with the lowest niceness take the whole cpu?
if i raise the priority to 32767, it won't swap either. I believe it's so because I have a fair amount of RAM, 768MB. I wrote a small program that fills up memory until system crash (). when I run it,then swap's used. so I don't think it's a swap problem.
trackerd was getting all the processor because it was the only process doing something when i started looking at the problem...
 
Old 02-07-2008, 02:31 AM   #19
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
I would try to recompile the kernel and select different scheduler.
 
Old 02-07-2008, 09:24 AM   #20
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
You can change scheduler without recompiling the kernel. Give it as a boot parameter.

However, IMO this won't fix anything. Something is not configured properly on the system. Can't tell what tho, it's probably many things.

Last edited by H_TeXMeX_H; 02-07-2008 at 09:26 AM.
 
Old 02-07-2008, 01:25 PM   #21
alissonbn
LQ Newbie
 
Registered: Feb 2008
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by H_TeXMeX_H View Post
You can change scheduler without recompiling the kernel. Give it as a boot parameter.

However, IMO this won't fix anything. Something is not configured properly on the system. Can't tell what tho, it's probably many things.
I don't think it's a scheduler problem anymore. I believe it's something related to the kernel that's messing with some other kernel code. I got once some APIC errors on my CPU, what made me google a bit, and I found that it seems SIS chipsets have a problem with linux. I'll take a look more carefully at this. I'll also try to compile an older kernel, because at times I used 2.6.14 I didn't have this problem. or at least didn't notice it.
as I said before, I'd like to believe it was some kernel misconfiguration I did, but even the generic-smp kernel had this problem.

as soon as I have news on it, i'll post. but if any of you guys have more suggestions, please let us know!
thks and best regards
 
Old 02-07-2008, 01:59 PM   #22
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
If it's an apic problem then disable it. Pass 'noapic' and possible also 'noioapic', 'nolapic' as boot parameters to the kernel. You can also compile the kernel without it.
 
Old 02-07-2008, 02:25 PM   #23
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
why would you ever build a 2.6.14 kernel for slack 12 the system is desinged to run the 2.6.21.5-smp kernel and the none smp that comes with it dont use it is is not very good. ok the smp is fast for my slow machine the only reason you will have bad or slow speed is because of your video card what kind do you have if linux did not load the right one and it is running a generic driver it is pushing it through the cpu and this will make your system slooooooooooowwwwww. do a xorgsetup and try to fix the problem hope this helped. Pat wrote the whole system around the 2.6.21.5-smp kernel and scripts.
 
Old 02-07-2008, 03:14 PM   #24
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
@Drakeo
I thought alissonbn said it was slow even without X started...


I do agree that you should not bother trying to use a kernel older than the one that comes with Slackware.

Also, I have SiS chipsets and I don't have these problems.
 
Old 02-07-2008, 03:17 PM   #25
alissonbn
LQ Newbie
 
Registered: Feb 2008
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Drakeo View Post
why would you ever build a 2.6.14 kernel for slack 12 the system is desinged to run the 2.6.21.5-smp kernel and the none smp that comes with it dont use it is is not very good. ok the smp is fast for my slow machine the only reason you will have bad or slow speed is because of your video card what kind do you have if linux did not load the right one and it is running a generic driver it is pushing it through the cpu and this will make your system slooooooooooowwwwww. do a xorgsetup and try to fix the problem hope this helped. Pat wrote the whole system around the 2.6.21.5-smp kernel and scripts.
well, I'd like to build this kernel because i didn't have this kind of problem(at least I didn't notice) running this kernel.
as for my video card, i'm not using any generic driver for it. i'm using the radeon driver for my ATI RADEON 9250, what gives me fair 906.565 FPS in glxgears
also, lowering the kernel shouldn't mess a lot with slackware, since the kernel interface doesn't change that fast. most programs won't complain. maybe HAL and DBUS will, but I can also just disable them. I just want to track the problem. I tried to run the generic and the generic-smp kernels that ship with slackware, but it also had problems.
 
Old 02-07-2008, 04:15 PM   #26
alissonbn
LQ Newbie
 
Registered: Feb 2008
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by H_TeXMeX_H View Post
If it's an apic problem then disable it. Pass 'noapic' and possible also 'noioapic', 'nolapic' as boot parameters to the kernel. You can also compile the kernel without it.
well, i had tried some of theses options, but not yet the noioapic and nolapic. unfortunately, it didn't worked either.
i'm running out of possibilities:P
I believe my last try will be recompiling an older kernel. if it works, i'd use it just for heavy duty operations, like compilating huge code or gaming.
for daily use, the 2.6.24 kernel handles quite good.
I will also try a live cd distro and try to do some heavy load there and see what happens. i won't give up slackware yet, but I just want to know if it's a kernel issue or slackware issue.
 
Old 02-07-2008, 06:03 PM   #27
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
To my knowledge you CANNOT use a kernel < 2.6.18 with Slackware 12.0 (I may be wrong, but I think that's the one). Compiling an old kernel is totally moronic and will solve nothing -- if anything is different, it's the CONFIGURATION of the new kernel that's the problem, not the new kernel itself (unless something REALLY screwy is going on, in which case I would recommend going back to Slackware 11.0 and upgrading the kernel that worked before -- but this would be a last resort).

How much time have you invested in setting up the system (ie can you do a reinstall of the OS without losing massive amounts of time and information [assuming you don't back things up])? It sounds like something has been fudged up along the way -- it's hard to tell if it's strictly a kernel issue or if it's something else. One suggestion I would have is to try booting up with a LiveCD running a modern kernel (>=2.6.21.5) and see if it works properly (taking into account the fact that a LiveCD will be slower than running from a hard drive). If it runs faster, it's a setup problem and not the kernel itself (although the kernel configuration could also be messed up).
 
Old 02-07-2008, 10:01 PM   #28
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Here's a question: If you boot from the Slackware install cd do you notice any slowdowns (did you notice them during the install?)?

You said you tried the generic kernels, but did you also try the huge kernels (I figure you did, but I don't know for sure)?

Perhaps the HAL/DBUS is giving you problems...

Definitely try out some liveCDs to see if you have the same problem.
 
Old 02-08-2008, 07:56 AM   #29
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I have a question. When you boot, does it happen to say something about a "BIOS Bug" ? I remember that a very similar thing happened with my laptop and FC5. All kernels before a certain version worked fine, but after that version, they said 'BIOS Bug' and then some number and stuff. And then weird stuff happened randomly, like the internet would stop working, and sometimes the system would be laggy, and the system would not boot. I've never actually found out why this happened, I changed to Slackware and it worked fine. The 'noapic' 'noioapic' and 'nolapic' were a temporary solution.
 
Old 02-09-2008, 12:07 PM   #30
alissonbn
LQ Newbie
 
Registered: Feb 2008
Posts: 18

Original Poster
Rep: Reputation: 0
guys, i'll be off for some days, i'll be traveling and where i'll go doesn't have inet.
when i get back in 3 days, i'll try what you guys said and post what i got.
thks for all the help and kindness.
 
  


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
slackware so slow michshelly Slackware 11 11-15-2006 04:46 PM
slackware so slow michshelly Slackware 1 10-11-2006 05:23 AM
[slackware] slow internet manky Linux - Networking 7 05-02-2004 11:20 AM
Slow startup on SlackWare. Replicated Linux - Software 1 04-15-2003 04:28 AM
slackware very slow! Syncrm Linux - Software 6 01-25-2002 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:41 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
Open Source Consulting | Domain Registration