Click here to Skip to main content
15,919,749 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: Showing image or icon on XP Button in VB.NET Pin
Hari Om Prakash Sharma7-Feb-06 21:17
Hari Om Prakash Sharma7-Feb-06 21:17 
GeneralRe: Showing image or icon on XP Button in VB.NET Pin
Mekong River7-Feb-06 22:57
Mekong River7-Feb-06 22:57 
GeneralRe: Showing image or icon on XP Button in VB.NET Pin
Hari Om Prakash Sharma7-Feb-06 23:36
Hari Om Prakash Sharma7-Feb-06 23:36 
QuestionHow to protect folder in Windows XP over a network? Pin
Hari Om Prakash Sharma6-Feb-06 21:13
Hari Om Prakash Sharma6-Feb-06 21:13 
AnswerRe: How to protect folder in Windows XP over a network? Pin
Gavin Taylor6-Feb-06 21:43
professionalGavin Taylor6-Feb-06 21:43 
GeneralRe: How to protect folder in Windows XP over a network? Pin
Hari Om Prakash Sharma6-Feb-06 22:01
Hari Om Prakash Sharma6-Feb-06 22:01 
AnswerRe: How to protect folder in Windows XP over a network? Pin
Mekong River6-Feb-06 22:36
Mekong River6-Feb-06 22:36 
QuestionCPU consumption Pin
caniask6-Feb-06 19:06
caniask6-Feb-06 19:06 
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 Pin
Dave Kreskowiak7-Feb-06 4:00
mveDave Kreskowiak7-Feb-06 4:00 
QuestionExperts, Pin
caniask6-Feb-06 18:46
caniask6-Feb-06 18:46 
AnswerRe: Experts, Pin
Mekong River6-Feb-06 20:34
Mekong River6-Feb-06 20:34 
AnswerRe: Noobies Pin
Dave Kreskowiak7-Feb-06 3:57
mveDave Kreskowiak7-Feb-06 3:57 
QuestionIE disappear after click on hyperlink Pin
Mekong River6-Feb-06 16:23
Mekong River6-Feb-06 16:23 
AnswerRe: IE disappear after click on hyperlink Pin
Gavin Taylor6-Feb-06 17:41
professionalGavin Taylor6-Feb-06 17:41 
GeneralRe: IE disappear after click on hyperlink Pin
Mekong River6-Feb-06 20:32
Mekong River6-Feb-06 20:32 
GeneralRe: IE disappear after click on hyperlink Pin
Gavin Taylor6-Feb-06 21:36
professionalGavin Taylor6-Feb-06 21:36 
GeneralRe: IE disappear after click on hyperlink Pin
Mekong River6-Feb-06 22:25
Mekong River6-Feb-06 22:25 
GeneralRe: IE disappear after click on hyperlink Pin
Dave Kreskowiak7-Feb-06 3:56
mveDave Kreskowiak7-Feb-06 3:56 
QuestionError in PHP Installation.Error : LIBXML2 not found Pin
rpkumar5-Feb-06 23:24
rpkumar5-Feb-06 23:24 
Questionvmware and clustering Pin
devfendar5-Feb-06 21:24
devfendar5-Feb-06 21:24 
QuestionBoot device Pin
Mekong River5-Feb-06 16:57
Mekong River5-Feb-06 16:57 
AnswerRe: Boot device Pin
Dave Kreskowiak6-Feb-06 4:12
mveDave Kreskowiak6-Feb-06 4:12 
GeneralRe: Boot device Pin
Mekong River6-Feb-06 4:37
Mekong River6-Feb-06 4:37 
GeneralRe: Boot device Pin
Dave Kreskowiak6-Feb-06 5:15
mveDave Kreskowiak6-Feb-06 5:15 
GeneralRe: Boot device Pin
Mekong River6-Feb-06 15:34
Mekong River6-Feb-06 15:34 

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.