Click here to Skip to main content
15,892,072 members
Home / Discussions / Article Writing
   

Article Writing

 
QuestionModifying Folder properties Pin
RahulOP13-Feb-06 22:00
RahulOP13-Feb-06 22:00 
QuestionCrystal + ASP Pin
Rajkamal_dfine7-Feb-06 21:42
Rajkamal_dfine7-Feb-06 21:42 
AnswerRe: Crystal + ASP Pin
nicko1-Mar-06 15:41
nicko1-Mar-06 15:41 
QuestionPosted and missing article Pin
SMDtheone7-Feb-06 19:35
SMDtheone7-Feb-06 19:35 
AnswerRe: Posted and missing article Pin
Vasudevan Deepak Kumar2-Mar-06 1:49
Vasudevan Deepak Kumar2-Mar-06 1:49 
AnswerRe: Posted and missing article Pin
HimaBindu Vejella7-Mar-06 18:38
HimaBindu Vejella7-Mar-06 18:38 
AnswerRe: Posted and missing article Pin
toxcct7-Mar-06 21:41
toxcct7-Mar-06 21:41 
QuestionCPU consumption problem Pin
caniask6-Feb-06 19:11
caniask6-Feb-06 19:11 
Hello experts,

I am writing an application in Solaris, which is supposed to work on PrimePower 650 and SunFire 440 machines. The application listens to the events raised by the Hardware and OS in /dev/log. The application listens to the messages logged into /dev/log and do some processing on them. Now, when there is a load condition occuring at /dev/log(i.e. number of messages per second ocurring at /dev/log is high), CPU consumption by my application shoots up to 50%, while my application is expected to consume not more than 1% CPU.
Now, I want to bring down the CPU consumption to 1%. Since the CPU consumtion can vary according to various CPU configurations, i have to ensure that the CPU consumption remains below 1% for low end CPUs.

Thanks in advance.

Currently to solve this problem, i am using the following technique:
1.Process is only reading 5 messages per second from /dev/log and process them. The process sleeps for rest of the time per second.
2. Every 100 messages, the process sleeps for 5 seconds.

This solution brings down the CPU consumption. On some CPU configurations, it is less than 1% CPU consumption. But on others still varies from 3-13%.

Please tell me if the processing delay technique used has some fundamental faults, or what is the correct technique of introducing processing delay for controlling CPU consumption.

Please also tell your suggestions for controlling CPU consumption. I would also appreciate , if you can redirect me to some links where i can find CPU consumption control techniques and fundamentals.

Thanks and regards.
AnswerRe: CPU consumption problem Pin
Dave Kreskowiak12-Feb-06 14:12
mveDave Kreskowiak12-Feb-06 14:12 
QuestionUNICODE sample Pin
transoft6-Feb-06 7:36
transoft6-Feb-06 7:36 
QuestionRSS Barcode Specifications Pin
NKR4-Feb-06 1:08
NKR4-Feb-06 1:08 
AnswerRe: RSS Barcode Specifications Pin
progload12-Feb-06 5:37
progload12-Feb-06 5:37 
GeneralRe: RSS Barcode Specifications Pin
NKR14-Feb-06 22:35
NKR14-Feb-06 22:35 
Questionsimple WebSphere MQ Pin
jbu203-Feb-06 21:44
jbu203-Feb-06 21:44 
QuestionAjax Pin
Prabu ram2-Feb-06 6:34
Prabu ram2-Feb-06 6:34 
AnswerRe: Ajax Pin
TJmaster17-Feb-06 2:24
TJmaster17-Feb-06 2:24 
AnswerRe: Ajax Pin
Vasudevan Deepak Kumar1-Mar-06 22:29
Vasudevan Deepak Kumar1-Mar-06 22:29 
QuestionSTLSoft challenge Pin
Danny-T230-Jan-06 20:17
Danny-T230-Jan-06 20:17 
AnswerRe: STLSoft challenge Pin
Stephen Hewitt3-Feb-06 22:20
Stephen Hewitt3-Feb-06 22:20 
QuestionColor and Font Manipulation Pin
RahulOP23-Jan-06 19:27
RahulOP23-Jan-06 19:27 
AnswerRe: Color and Font Manipulation Pin
Michael P Butler23-Jan-06 19:54
Michael P Butler23-Jan-06 19:54 
GeneralRe: Color and Font Manipulation Pin
RahulOP23-Jan-06 20:07
RahulOP23-Jan-06 20:07 
QuestionRe: Color and Font Manipulation Pin
RahulOP25-Jan-06 1:36
RahulOP25-Jan-06 1:36 
QuestionAbout Outlook Pin
kotiramkoteswararao18-Jan-06 18:30
kotiramkoteswararao18-Jan-06 18:30 
AnswerRe: About Outlook Pin
Matthew Hazlett28-Jan-06 9:36
Matthew Hazlett28-Jan-06 9:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.