• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multicore server load
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multicore server load


  • Subject: Re: Multicore server load
  • From: Musall Maik <email@hidden>
  • Date: Thu, 25 Apr 2013 15:28:21 +0200

Hi Konrad,

why should it put load on all cores if there's not enough workload to saturate even one?

When you have one thread running at 100% for several seconds, that thread will also stay on the same core because there's overhead involved in switching cores (core-local cache warmup). So if there aren't really several requests that actually run concurrently, why should the scheduler cycle through the cores?

Maik


Am 25.04.2013 um 14:36 schrieb Konrad Kubacki <email@hidden>:

> Hi,
>
> I've set WOAllowsConcurrentRequestHandling to true and thought that with this option enabled, WebObjects gonna consume all of my 4 CPU cores.
> I checked production server statistics, which shows as: (see the picture: http://d.pr/i/qJoH) Yes, i know - the picture shows the load of all processes - which my not work in multicore env, but still, there are 2x more threads of WOApp on core 0.
>
> See threads for one of the application's instances are as follow:
> CORE : NUM_THREADS
> 0 : 41
> 1 : 12
> 2 : 13
> 3 : 14
>
> (done by ps -p PID -L -o psr | sort | uniq -c)
>
> Why it utilizes much more core0? Is there a way to enable better consumptions of all the cores? (all but core 0 looks quite lazy at the time)
>
> Konrad
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Multicore server load (From: Konrad Kubacki <email@hidden>)

  • Prev by Date: WOWODC 2013: Direct link to book your room
  • Next by Date: EOF related objects present a lot in the heap
  • Previous by thread: Re: Multicore server load
  • Next by thread: WOWODC 2013: Direct link to book your room
  • Index(es):
    • Date
    • Thread