Results 1 to 4 of 4

Thread: Why CPU utilization is 80% in SUSE 11 but almost 0 in SUSE 10 (Same hardware)

  1. #1

    Default Why CPU utilization is 80% in SUSE 11 but almost 0 in SUSE 10 (Same hardware)

    Our service receive data from network (using select) and process the data and forward to network. Its designed as producer (1 thread, receive from network) and consumer(6 thread, manipulate the data and forward to network). In consumer it sleep for some time (4ms using select) and check if any data need to process. (i know this is not good design).
    For high traffic from network , CPU utilization over 80% in suse 11 but 0~1% in suse 10.
    I know clock precision in suse 10 is 4ms and suse 11 its 4ns. I check the CPU uses of each thread (using top -H). All producer and consumer thread utilization in suse 11 is over 10% but in suse 10 its 0%.
    I tried to analyse strace output. In suse 11, select is taking 98% of time but in suse 10 its taking around 70%. I checked the oprofile output in suse 10 and suse 11 but could not findout what to analyse.
    I also have written one sample server and client which just recive the message from sample client. Message rate 9000 msg /second. In SUSE 11, each server and client are taking over 7% but same test application take 0% in suse 10.
    Plz help me to analyze. Thanks !!

  2. #2

    Default Re: Why CPU utilization is 80% in SUSE 11 but almost 0 in SUSE 10(Same hardware)

    How are you viewing the CPU utilization? Do any other loads placed on
    both systems cause substantial differences in CPU utilization reporting
    when in fact the processing time is the same (for example, a prime number
    generator or load testing software that just loads the CPU)?

    What software are you using to setup the producers and consumers?

    Good luck.

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Why CPU utilization is 80% in SUSE 11 but almost 0 in SUSE 10(Same hardware)

    On 2013-09-19 14:26, akumar007 wrote:
    >
    > Our service receive data from network (using select) and process the
    > data and forward to network. Its designed as producer (1 thread, receive
    > from network) and consumer(6 thread, manipulate the data and forward to
    > network). In consumer it sleep for some time (4ms using select) and
    > check if any data need to process. (i know this is not good design).
    > For high traffic from network , CPU utilization over 80% in suse 11 but
    > 0~1% in suse 10.
    > I know clock precision in suse 10 is 4ms and suse 11 its 4ns.


    You are talking of SLES 10 and SLES 11, right?

    Sorry, but these are the openSUSE forums, not the SLES/SLED forums.
    Please post here instead: SLES/SLED
    forums
    (same login/pass).

    Although I'm curious about why the difference.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  4. #4

    Default Re: Why CPU utilization is 80% in SUSE 11 but almost 0 in SUSE 10(Same hardware)

    Quote Originally Posted by ab View Post
    How are you viewing the CPU utilization? Do any other loads placed on
    both systems cause substantial differences in CPU utilization reporting
    when in fact the processing time is the same (for example, a prime number
    generator or load testing software that just loads the CPU)?

    What software are you using to setup the producers and consumers?

    Good luck.

    i am using top -p in both the system. My application c/C++ based. Load on both system are same.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •