Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Windows 64bit > Processor Allocation Max of 50% Per Program

Reply
Thread Tools

Processor Allocation Max of 50% Per Program

 
 
=?Utf-8?B?SHlkcm9sb2d5?=
Guest
Posts: n/a
 
      07-26-2005
I have a dual processor AMD Opteron, 4 gig of memory and a 2-200Gig SATA Raid
0 hard drive setup. I have noticed that the operating system will not allow
any one program to have more than 50% of the processor time. I have several
large computer models and when they are running, they use both processors
with veach thread getting ariable usage percentage, but the total as reported
by Task Manager/Performance is always pegged at 50%. Not 49% and not 51%.

When I am running multiple programs I can get the total processor usage to
go over 50%, but for any one program that can get there, something is
stopping it from getting more than 50% of the available processor time. I
have noticed this with several high end computer model as well as some code
that I developed myself. I am running Windows XP 32, would Windows XP 64
eliminate this limitation?

To reduce runtime I would like to be able to allocate 100% of both
processors if the program needs it.
 
Reply With Quote
 
 
 
 
Peter Lawton
Guest
Posts: n/a
 
      07-26-2005
If the task running is only single threaded, or does most of it's work on a
single thread it will only be able to use 100% of 1 processor, sometimes the
OS swaps this between the multiple processors, but it will never use more
than the equivalent of 100% on a single processor, for example 50% on each
of 2 CPUs or 25% on each of 4 CPUs.

Programs that are written to be multi threaded, like SQL server, certainly
can use all of your processors fully, unfortunately there aren't very many
programs written to take advantage of multiple processors or drivers, DLLs
etc either I'd guess.

Other things that will use all processors are apps like Symantec AV for
Exchange which runs multiple instances of the scanning engine, each one can
potentially use 100% of a single CPU.

I think you'd either have to write/compile the program to be able to use
more than one thread effectively or perhaps run more than one instance at
once. I'm not an expert though, I'm sure someone will be able to tell you
more.

Peter Lawton

"Hydrology" <> wrote in message
news:662BD5DB-8FF7-42C0-99CD-...
>I have a dual processor AMD Opteron, 4 gig of memory and a 2-200Gig SATA
>Raid
> 0 hard drive setup. I have noticed that the operating system will not
> allow
> any one program to have more than 50% of the processor time. I have
> several
> large computer models and when they are running, they use both processors
> with veach thread getting ariable usage percentage, but the total as
> reported
> by Task Manager/Performance is always pegged at 50%. Not 49% and not 51%.
>
> When I am running multiple programs I can get the total processor usage to
> go over 50%, but for any one program that can get there, something is
> stopping it from getting more than 50% of the available processor time. I
> have noticed this with several high end computer model as well as some
> code
> that I developed myself. I am running Windows XP 32, would Windows XP 64
> eliminate this limitation?
>
> To reduce runtime I would like to be able to allocate 100% of both
> processors if the program needs it.



 
Reply With Quote
 
 
 
 
=?Utf-8?B?SHlkcm9sb2d5?=
Guest
Posts: n/a
 
      07-27-2005
It could be that these programs that were compiled as multithreaded
applications are not structured very well for multitasking. That would
explain why even though both processors are bouncing around between 20 and 80
percent, the total never gets over 50%.

Do you know of a true mutithreaded application that I could download and
test on this machine?



"Peter Lawton" wrote:

> If the task running is only single threaded, or does most of it's work on a
> single thread it will only be able to use 100% of 1 processor, sometimes the
> OS swaps this between the multiple processors, but it will never use more
> than the equivalent of 100% on a single processor, for example 50% on each
> of 2 CPUs or 25% on each of 4 CPUs.
>
> Programs that are written to be multi threaded, like SQL server, certainly
> can use all of your processors fully, unfortunately there aren't very many
> programs written to take advantage of multiple processors or drivers, DLLs
> etc either I'd guess.
>
> Other things that will use all processors are apps like Symantec AV for
> Exchange which runs multiple instances of the scanning engine, each one can
> potentially use 100% of a single CPU.
>
> I think you'd either have to write/compile the program to be able to use
> more than one thread effectively or perhaps run more than one instance at
> once. I'm not an expert though, I'm sure someone will be able to tell you
> more.
>
> Peter Lawton
>
> "Hydrology" <> wrote in message
> news:662BD5DB-8FF7-42C0-99CD-...
> >I have a dual processor AMD Opteron, 4 gig of memory and a 2-200Gig SATA
> >Raid
> > 0 hard drive setup. I have noticed that the operating system will not
> > allow
> > any one program to have more than 50% of the processor time. I have
> > several
> > large computer models and when they are running, they use both processors
> > with veach thread getting ariable usage percentage, but the total as
> > reported
> > by Task Manager/Performance is always pegged at 50%. Not 49% and not 51%.
> >
> > When I am running multiple programs I can get the total processor usage to
> > go over 50%, but for any one program that can get there, something is
> > stopping it from getting more than 50% of the available processor time. I
> > have noticed this with several high end computer model as well as some
> > code
> > that I developed myself. I am running Windows XP 32, would Windows XP 64
> > eliminate this limitation?
> >
> > To reduce runtime I would like to be able to allocate 100% of both
> > processors if the program needs it.

>
>
>

 
Reply With Quote
 
Peter Lawton
Guest
Posts: n/a
 
      07-27-2005
That's difficult, there are very few true multithreaded programs that I know
of. The ones I use that seem to do it very well are things like SQL

Perhaps you could try some benchmarking software and run two instances at
once?

Peter Lawton

"Hydrology" <> wrote in message
news:2D69BD4C-8EDE-468E-8433-...
> It could be that these programs that were compiled as multithreaded
> applications are not structured very well for multitasking. That would
> explain why even though both processors are bouncing around between 20 and
> 80
> percent, the total never gets over 50%.
>
> Do you know of a true mutithreaded application that I could download and
> test on this machine?
>
>
>
> "Peter Lawton" wrote:
>
>> If the task running is only single threaded, or does most of it's work on
>> a
>> single thread it will only be able to use 100% of 1 processor, sometimes
>> the
>> OS swaps this between the multiple processors, but it will never use more
>> than the equivalent of 100% on a single processor, for example 50% on
>> each
>> of 2 CPUs or 25% on each of 4 CPUs.
>>
>> Programs that are written to be multi threaded, like SQL server,
>> certainly
>> can use all of your processors fully, unfortunately there aren't very
>> many
>> programs written to take advantage of multiple processors or drivers,
>> DLLs
>> etc either I'd guess.
>>
>> Other things that will use all processors are apps like Symantec AV for
>> Exchange which runs multiple instances of the scanning engine, each one
>> can
>> potentially use 100% of a single CPU.
>>
>> I think you'd either have to write/compile the program to be able to use
>> more than one thread effectively or perhaps run more than one instance at
>> once. I'm not an expert though, I'm sure someone will be able to tell you
>> more.
>>
>> Peter Lawton
>>
>> "Hydrology" <> wrote in message
>> news:662BD5DB-8FF7-42C0-99CD-...
>> >I have a dual processor AMD Opteron, 4 gig of memory and a 2-200Gig SATA
>> >Raid
>> > 0 hard drive setup. I have noticed that the operating system will not
>> > allow
>> > any one program to have more than 50% of the processor time. I have
>> > several
>> > large computer models and when they are running, they use both
>> > processors
>> > with veach thread getting ariable usage percentage, but the total as
>> > reported
>> > by Task Manager/Performance is always pegged at 50%. Not 49% and not
>> > 51%.
>> >
>> > When I am running multiple programs I can get the total processor usage
>> > to
>> > go over 50%, but for any one program that can get there, something is
>> > stopping it from getting more than 50% of the available processor time.
>> > I
>> > have noticed this with several high end computer model as well as some
>> > code
>> > that I developed myself. I am running Windows XP 32, would Windows XP
>> > 64
>> > eliminate this limitation?
>> >
>> > To reduce runtime I would like to be able to allocate 100% of both
>> > processors if the program needs it.

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
An idea for heap allocation at near stack allocation speed Bjarke Hammersholt Roune C++ 14 03-06-2011 08:07 AM
static memory allocation versus dynamic memory allocation Ken C Programming 24 11-30-2006 12:37 AM
AMD 64 X2 Processor: Any what to tell what program/process is assigned to processor? The Frozen Canuck Windows 64bit 1 01-16-2006 07:45 PM
What is the difference between dynamic memory allocation,and stack allocation ? chris C++ 6 10-28-2005 05:27 AM
Textarea max rows and max characters per row Greg Ferris Javascript 2 01-16-2004 07:21 PM



Advertisments