Fedora Linux Support Community & Resources Center
Old 26th July 2006, 09:31 PM
zeddy Offline
Registered User
Join Date: Jul 2006
Posts: 3
pthread_cond_timedwait consuming 100% CPU

I am having issues with pthread library. whenever any of my threads, blocks on pthread_cond_timedwait(,) or pthread_cond_wait(), CPU usage jumps to 100 %. I have tried this on FC 3 & 4. Could I have missed something ? By the way, I am a newbie .....
Reply With Quote
Old 27th July 2006, 06:29 PM
zeddy Offline
Registered User
Join Date: Jul 2006
Posts: 3
pthread_cond_timedwait(,,) consuming 100% CPU

Problems Solved :
My throttles were set too low. Hoever, I would only satuarate the CPU as soon as I went in to wait, thus was led to think this had to do with the pthread libraries. Thanks all for helping out.
Reply With Quote
Old 2nd September 2006, 01:42 AM
scho Offline
Registered User
Join Date: Aug 2006
Posts: 3

I am also a newbie.... Could you, please, explain how you re-set the throttles ?

I am also having problem in my code. Currently, I am using 8 threads and the machine
has 4 CPUs and each of them is dual cores so basically, I can use 8 threads to maximize
the parallel processing. Usually, I got 8times speed up compared to using just 1 thread,
but somehow I haven't got the speed up after newly installing Fedora Core 5 from redhat
enterprise AS version 4.

Reply With Quote

100% , consuming , cpu , pthreadcondtimedwait

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
something is consuming my memory enrico_m Using Fedora 4 21st September 2009 02:44 PM
Everything in fedora 8 seems much cpu consuming than that in fc6 ildg EOL (End Of Life) Versions 17 21st April 2008 11:32 PM
XXorg consuming 50% of CPU martypants Using Fedora 3 15th November 2007 01:28 AM
pthread_cond_timedwait consuming 100% CPU zeddy Programming & Packaging 1 26th July 2006 10:17 PM

Current GMT-time: 03:21 (Thursday, 19-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat