Go Back   AudiWorld Forums » Community Discussion » Computers Discussion
Sign in using an external account
Register Forgot Password?

Welcome to AudiWorld!
Welcome to AudiWorld.com.

You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, at no cost, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, join AudiWorld.com today!


Notices

Discussion Forums:
Reply
 
 
 
 
Thread Tools Search this Thread Display Modes
Old 02-06-2009, 04:41 AM   #1
NYImola::NYMisano
Member
Garage is empty, add now
 
Join Date: Jun 2000
Posts: 4,324
Send a message via AIM to NYImola::NYMisano
Default Is there a way to tell how many processors software can utilize?

Ie: would certain stock trading software apps use any more than a dual core?
NYImola::NYMisano is offline   Reply With Quote
Old 02-06-2009, 08:15 AM   #2
pattycakes® iCode
Member
Garage is empty, add now
 
Join Date: Apr 2005
Posts: 6,823
Default the only sure fire way (w/o debugging it), run it and see if it loads both cores fully and evenly.

Generally you will only be able to tell that is if it does something to put all your cores under 100% load (lots and LOTS of high priority number crunching).

Otherwise Windows will schedule the threads to the first free processor so you'd never really be able to tell.
pattycakes® iCode is offline   Reply With Quote
Old 02-06-2009, 02:23 PM   #3
allroadCole
AudiWorld Super User
Garage is empty, add now
 
Join Date: May 2006
Posts: 5,891
Default you can use Process Explorer

download and run Process Explorer

fire up the app in question

find the app in question in Process Explorer and double click it

click on the "threads" tab, and look at how many threads are using the CPU at a time.
allroadCole is offline   Reply With Quote
Old 02-06-2009, 04:45 PM   #4
pattycakes® iCode
Member
Garage is empty, add now
 
Join Date: Apr 2005
Posts: 6,823
Default That only shows you thread scheduling per CPU and resident threads in the process space.

99.999999% of the worlds applications are multi-threaded (as are their linked dependencies).

Just not many of them are actually optimized to actually run on multiple core / CPU systems though.
pattycakes® iCode is offline   Reply With Quote
Old 02-06-2009, 04:55 PM   #5
pattycakes® iCode
Member
Garage is empty, add now
 
Join Date: Apr 2005
Posts: 6,823
Default That's what I get for answering before my morning coffee...misread your question.

You want to know how many it can make use of?


Short answer is; However many your system has.

Really the only applications that tend to increase / decrease the number of worker threads based on the number of CPUs / Cores

-and-

Manages / loads those threads properly are;

Video games, video, photo and audio editing suites.

Otherwise, your OS will manage thread scheduling for your stock application across all CPUs / Cores based on a thread scheduling engine.

Those types of applications tend to be weighted towards one thread lording over all the rest, but you'll see these threads scheduled across all available CPUs / Cores in certain conditions.
pattycakes® iCode is offline   Reply With Quote
Old 02-07-2009, 09:12 AM   #6
allroadCole
AudiWorld Super User
Garage is empty, add now
 
Join Date: May 2006
Posts: 5,891
Default i dont think so... it also shows you the cpu usage of each thread.

of course all applications will have several threads. but the process explorer shows you what CPU % each thread is using. In most apps when you do something processor intensive only one thread will be using the CPU and the rest of the threads will be idling.

so, if you press the "start cpu intensive task" button in the application in question and only one thread starts using a non-trivial amount of cpu, then that intensive task will not directly benifit from multiple cores (right?). but if you press the "start cpu intensive task" button and 2,4, 8 or more threads start using a decent amount of CPU you will get a huge benifit from multiple cores...

of course im assuming each thread runs on only one processor, which im pretty sure used to be true, but maybe newer versions of windows let one thread span multiple cpus/cores????
allroadCole is offline   Reply With Quote
Old 02-09-2009, 11:23 AM   #7
pattycakes® iCode
Member
Garage is empty, add now
 
Join Date: Apr 2005
Posts: 6,823
Default Given that I misread the original question...you are right.

But using procexplorer is kind of overkill in this situation IMO;

Yes, you're going to get a granular view of thread scheduling for the entire life cycle of the application. But seeing one spawned thread spike utilization for a clock cycle on another core isn't uncommon given the math behind that number and what spawned threads do from time to time.

And you're also right that it's the ability to sustain that CPU usage figure across the lifespan of the application that's the key to determining if that app has a threading model designed to take advantage of multiple cores.

But you can see that in Task Manager.

In your scenarios;

The first one you will see a marginal increase in perf, only because the application will suffer less thread context switching through its lifespan. All those threads that used to share time on a single core machine can be farmed out to other cores.

The second scenario is what you see more of today, apps that are multithreaded but weighted towards a single thread, this model tends to give you a 10-20% perf increase and generally leaves you seeing a 100%-50% usage split on a dual core machine in Task Manager (given it's something that really runs around crunching numbers...i.e. games).

And threads can't be split across CPUs as yet. True parallel thread computing isn't quite there yet. It requires pretty hefty CPU and software architecture changes.
pattycakes® iCode is offline   Reply With Quote
Old 04-06-2009, 07:50 AM   #8
amidcars
Junior Member
Garage is empty, add now
 
Join Date: Apr 2009
Posts: 28
Default

I used to use a online software for trading and usually use it for day trading. I am using it on a celeron processor lapi. I dont find any problem even in the laptop processing slow or other issues. Its running good in ti and if you have dual core then there would not be any type of problem..
__________________
Volkswagen

Custom Name
amidcars is offline   Reply With Quote
Old 04-06-2009, 07:50 AM
AudiWorld
Audi R8




Paid Advertisement
 
 
 
Reply

Tags
cpus, email, pinnacle, utilize, utilizeie



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
Discussion Forums:


Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 AudiWorld.com Audi Enthusiast Community

Personal Contacts