LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 08-26-2009, 06:42 AM   #1
yossisw
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.

Thanks
Yossi
 
Old 08-26-2009, 03:18 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,536

Rep: Reputation: 148Reputation: 148
Is there any difference in the main loop in both cases?
 
Old 08-27-2009, 02:23 AM   #3
yossisw
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
 
  


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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration