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 03-08-2008, 03:10 AM   #16
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
update


Heck, thanks a lot guys. I'll be sure to run all of these things, and check all those processes and options.

Just one more thing. It does not happen all the time, something or some things trigger this behavior. In this case, when it started happening, my machine was already running and it didn't have the problem. Then, i noticed i was using firefox and kaffeine while checking my gmail account, and all of a sudden, it began lagging.

For instance: while i was writing this post, i had writer, 2 consoles, pidgin, kaffeine, firefox, amarok, k3b and kate opened at the same time, and as i mentioned before, the problem is not showing whatsoever. It has become such a weird issue, and the main problem now is that i can't find any logs anywhere.

Thanks a lot, i'll be posting more info as i come across it.
 
Old 03-08-2008, 03:32 AM   #17
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
I have created this new post because it's an update on a lot of info about my system. I have run several commands to check how my machine is working, as you have requested.

System hardware:
Mobile Intel(R) Pentium(R) 4 CPU 3.20GHz
ATI Technologies Inc RS300M AGP [Radeon Mobility 9100IGP]
ATI Technologies Inc IXP150 AC'97 Audio Controller

1. As per the applications i wrote where running, here's the output of free -m (note that no swap is used):
total used free shared buffers cached
Mem: 1137 958 179 0 68 529
-/+ buffers/cache: 360 777
Swap: 509 0 509

2. I ran a grep on messages log file to see if any memory problems have occured. The output was null. Here's the command:
grep "__alloc_pages: 0-order allocation failed" /var/log/messages

3. Here's the output on vmstat 1 2, to see if my computer has been swapping (notice that swap in si and swap out so are 0 values):
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
1 0 0 177468 70836 542980 0 0 8 6 166 186 5 1 94 0
0 0 0 177508 70844 542976 0 0 0 12 263 2088 5 1 94 0

I hope this extra info helps you a little bit. Let me know if you need some more info on my system.

Last edited by trebek; 03-08-2008 at 04:10 AM.
 
Old 03-08-2008, 06:08 AM   #18
mattyoly
Member
 
Registered: Sep 2005
Location: Canada
Distribution: openSUSE 8.0 - 11.00 Fedora 10
Posts: 71
Blog Entries: 1

Rep: Reputation: 15
thanks for the specs. they seem more then capable of running linux, now could you let us know what kind or memory do you have? is ddr? ddr2? , and how many sticks. meanwhile try the irqpoll option that i posted in my previous post, and another issue that could be your keyboard. if you are running a usb keyboard try a ps/2 and see what happens, and if you are using a ps/2 try a usb one.cause sometimes when you have usb 2.2 and your linux only support usb 1.1 well you run into problems. but most likely the irqpoll should fix your problem. if not well, we'll find something.

best of luck.
 
Old 03-08-2008, 12:32 PM   #19
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by mattyoly View Post
thanks for the specs. they seem more then capable of running linux, now could you let us know what kind or memory do you have? is ddr? ddr2? , and how many sticks. meanwhile try the irqpoll option that i posted in my previous post, and another issue that could be your keyboard. if you are running a usb keyboard try a ps/2 and see what happens, and if you are using a ps/2 try a usb one.cause sometimes when you have usb 2.2 and your linux only support usb 1.1 well you run into problems. but most likely the irqpoll should fix your problem. if not well, we'll find something.

best of luck.
Hi, thanks for the quick response. I should have specified that it's a toshiba laptop, so there is no keyboard or mouse involved, well, at least external, right? Let me find out about the type of memory and learn how to use irqpoll.
 
Old 03-08-2008, 01:10 PM   #20
mattyoly
Member
 
Registered: Sep 2005
Location: Canada
Distribution: openSUSE 8.0 - 11.00 Fedora 10
Posts: 71
Blog Entries: 1

Rep: Reputation: 15
Wow, that was my bad, since you did mention in your first post that it's a laptop, but for some reason i assumed otherwise. So knowing this it narrows it down quite a bit. And also forget the whole memory issue. Since is a laptop, two things that could cause lagging is power, or the cpu. Look into trying to remove powernowd. What it does is uses the CPUs frequency scaling capabilities to save power on a laptop, so you can check in the BIOS to see if you can turn the scaling off, or try removing powernowd. If it creates problems, then reinstall it. But it has to do something with your power, and the way your power is managed, since it;s a laptop it always tries to save battery power. So when does it lag for you, when it's plugged in or when it runs on the battery?

And truly sorry, for leading you in the wrong direction, my honest mistake, i missed the part where you stated it was a laptop.
 
Old 03-08-2008, 03:25 PM   #21
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Just because it's a laptop does not preclude memory problems, although -- unless you installed additional memory yourself -- it's unlikely that there's a "memory type" mismatch.

It's also unlikely that the on-demand CPU throttling is the problem since the processing should "demand" whatever it needs. On the other hand, there could be a hardware problem in interrupt processing of, for example, keyboard events. But the evidence offered is that the keyboard events have been buffered, not lost, and that only the processing of those events has been delayed.

The question to ask is "What higher priority events are being processed that cause the keyboard events to be buffered?" I think that keyboard processing is given a lower priority than almost all other interrupts, so (if that's true) almost anything could be delaying the processing of you keyboard input.

Older versions of Firefox (before, IIRC, 2.0.0.5) did force the system to wait whilst tab contents was being refreshed, and I can recall needing to wait as much as a couple of minutes with nothing except the mouse cursor responding when FF was getting a new page from the Internet, but I haven't seen that problem for several months now. If your FF is a recent release, you are unlikely to have that problem.
 
Old 03-08-2008, 05:59 PM   #22
trebek
Member
 
Registered: Feb 2005
Location: Costa Rica
Distribution: Ubuntu, gOS, Debian & Slack 12
Posts: 426

Original Poster
Rep: Reputation: 30
Well, as i see here, there a few things that could be happening. I don't recall having this problem with previous releases of kubuntu, that is feisty and edgy on my laptop, and during this time, i upgraded and added memory to my laptop. It, in fact, began some time after i installed gutsy on my laptop. I suppose the problem underlying this behavior is either an application doing something wrong or some bad configuration entry somewhere in the system. I came to this conclusion because it does not happen all the time, only when some application like firefox or kaffeine experience some sort of problem.

I'll post back with the required things you suggested.

Last edited by trebek; 03-08-2008 at 07:50 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
periodic freezes AhYup Slackware 1 02-13-2005 11:14 PM
periodic network disconnections nobbie Slackware 2 01-18-2005 09:52 PM
will old monitor stop graphics from working, slow it down, make things blurrie? toastermaker Linux - Hardware 1 03-08-2004 11:43 PM
periodic freezing piccardcapt Linux - General 3 06-16-2003 09:18 AM
Periodic stalls in X Tyco Slackware 3 06-07-2003 03:25 PM


All times are GMT -5. The time now is 01:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration