Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 08-26-2009, 07:42 AM   #1
LQ Newbie
Registered: Jun 2009
Posts: 4

Rep: Reputation: 0
Question procces spend a lot of CPU time

I have a multithreads application that running on suse 8.2 kernel 2.4.
I made immigration to kernel 2.6 and I have the following problem.
This application can run with 2 modes: foreground an background daemon).
In foreground mode the application working well after the immigration, but in daemon mode the application spend a lot of cup time
(around 103% instead of 3-4% in the foreground mode) and the computer become working very slowly.

Old 08-26-2009, 04:18 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,575

Rep: Reputation: 181Reputation: 181
Is there any difference in the main loop in both cases?
Old 08-27-2009, 03:23 AM   #3
LQ Newbie
Registered: Jun 2009
Posts: 4

Original Poster
Rep: Reputation: 0
no, there is the same main loop at both modes

no, there is the same main loop at both modes


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
X taking up a lot CPU time kurnia1 Linux - Server 2 04-13-2008 09:23 PM
LXer: I Think We Need To Spend Some Time Apart LXer Syndicated Linux News 0 01-09-2006 11:16 PM
How much time to you spend on LQ? ctkroeker General 16 07-16-2005 10:01 PM
Please spend the time to help me The_Nerd General 11 01-16-2005 01:58 AM
Modify only do_mounts.c but have to spend too much time to re-compile kernel. AshesOfTime Programming 0 12-12-2004 10:57 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

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

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