Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Is 100% CPU utilisation during a procees is aproblem?

by Ankur_kuls (Sexton)
on Nov 26, 2014 at 09:59 UTC ( [id://1108435]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Is 100% CPU utilisation during a procees is aproblem?
in thread Is 100% CPU utilisation during a procees is aproblem?

Hi All, I am not able to reply on Corion's answer.. so please help me getting this clarification....as per his reply, it means that CPU usage on my linux machine is only around 25%. There is no problem with my script and I can go ahead with this?

  • Comment on Re^4: Is 100% CPU utilisation during a procees is aproblem?

Replies are listed 'Best First'.
Re^5: Is 100% CPU utilisation during a procees is aproblem?
by BrowserUk (Patriarch) on Nov 26, 2014 at 12:51 UTC

    Personally, if I had a 22-core machine available to me, I'd be very dissatisfied with only being able to make use of 4% of the available power.

    I'd definitely look to multi-thread the processing so as to spread the cpu-intensive part(s) of the processing over more cores and reduce the overall time taken.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
Re^5: Is 100% CPU utilisation during a procees is aproblem?
by Anonymous Monk on Nov 26, 2014 at 10:48 UTC
    Yes, your script will be using 100% of one core, so if you have multiple cores, then the other cores won't be occupied. Your definition of a "problem" is still unclear - why shouldn't your script take 100% CPU? For a script that does a lot of CPU intensive stuff on a large input file that seems pretty normal to me.
Re^5: Is 100% CPU utilisation during a procees is aproblem?
by Anonymous Monk on Nov 26, 2014 at 10:53 UTC
    Search the top documentation for "CPU" and try the "I" command to see the different ways CPU usage can be displayed.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1108435]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 18:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found