Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Dual Core Wastage

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion

Dual Core Wastage
Reply
 
Thread Tools
Old 12-01-2007, 18:23   #1
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
Angry Dual Core Wastage

Man do I hate this windows shhhhhhhhhhhhhh

Is there a way to launch another instance of an application if its designed to be single threaded ?

I'm converting 100odd ebooks to repligo format and looks like repligo is just using the one core (nearly finished after 3 hours of processing !)

I know I'm going to run into this again and again so is there a way to run two instances ?
The Jackal is offline   Reply With Quote
Advertisement
Old 12-01-2007, 18:31   #2
Graham M
Inactive
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 41
Services: FreeSat+ Tivo V-Box VM 60MBit
Posts: 13,365
Graham M has a pair of shiny starsGraham M has a pair of shiny stars
Graham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny starsGraham M has a pair of shiny stars
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: Dual Core Wastage

Can you start a second copy of the program? If so just assign each process to a single core.
Graham M is offline   Reply With Quote
Old 12-01-2007, 18:33   #3
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
Re: Dual Core Wastage

No mate. The program obviously doesnt like being in multi window mode
The Jackal is offline   Reply With Quote
Old 12-01-2007, 18:39   #4
r1ch
Inactive
 
Join Date: Mar 2004
Posts: 311
r1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation era
Re: Dual Core Wastage

It depends how the app checks if it is the only instance running. Some just look for another process running with the same name so renaming it might do the trick. Others use mutexes or files as flags in which case running it as another user (via fast user switching on windows XP or via terminal services) could do the trick.
r1ch is offline   Reply With Quote
Old 12-01-2007, 19:11   #5
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
Re: Dual Core Wastage

Quote:
Originally Posted by r1ch View Post
It depends how the app checks if it is the only instance running. Some just look for another process running with the same name so renaming it might do the trick. Others use mutexes or files as flags in which case running it as another user (via fast user switching on windows XP or via terminal services) could do the trick.
Good tip mate but in this instance it didnt work. Mind you not sure if I fancy the idea of tricking an app to play ball with potential shared resources.
The Jackal is offline   Reply With Quote
Old 12-01-2007, 20:25   #6
r1ch
Inactive
 
Join Date: Mar 2004
Posts: 311
r1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation erar1ch has entered a golden reputation era
Re: Dual Core Wastage

Thanks for the rep. The fast user switching or terminal services should be safe - it's designed so that they get duplicate environments. Admittedly renaming is a bit dodgy though...
r1ch is offline   Reply With Quote
Old 12-01-2007, 21:03   #7
keithwalton
Inactive
 
keithwalton's Avatar
 
Join Date: Jul 2003
Location: Southampton
Age: 43
Posts: 1,089
keithwalton has reached the bronze age
keithwalton has reached the bronze agekeithwalton has reached the bronze agekeithwalton has reached the bronze agekeithwalton has reached the bronze agekeithwalton has reached the bronze agekeithwalton has reached the bronze age
Re: Dual Core Wastage

Have you tried setting the affinity of the process to one cpu using a launching program then loading another copy with the affinity set to the other cpu.
keithwalton is offline   Reply With Quote
Old 13-01-2007, 00:03   #8
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
Re: Dual Core Wastage

Quote:
Originally Posted by keithwalton View Post
Have you tried setting the affinity of the process to one cpu using a launching program then loading another copy with the affinity set to the other cpu.
That would be good and hence my query but what program wrapper do I use ?
The Jackal is offline   Reply With Quote
Old 13-01-2007, 00:06   #9
Ramrod
Inactive
 
Ramrod's Avatar
 
Join Date: Jun 2003
Location: Tonbridge
Age: 59
Services: Amazon Prime Video & Netflix. Deregistered from my TV licence.
Posts: 21,960
Ramrod has a golden aura
Ramrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden auraRamrod has a golden aura
Re: Dual Core Wastage

Which repligo are you using?
I use pdf mobilizer as it's the only one that works on 64bit......perhaps you could try that?
Ramrod is offline   Reply With Quote
Old 13-01-2007, 00:10   #10
MovedGoalPosts
Inactive
 
MovedGoalPosts's Avatar
 
Join Date: Jun 2003
Location: 127.0.0.1
Age: 62
Posts: 15,868
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
Re: Dual Core Wastage

I suspect that you would at least have to somehow install tow completely separate versions of the software, i.e. version 1 to \program files\copy 1 & version 2 to \program files \ copy 2. Even then you'd probably have to play around in the registry and what not to ensure the PC identifies the settings of each separate instance as a completely separate program.

We sort of do this to get dual core PCs running two instances of distributed computing applications, like folding. But most of those have specific file settings, that are made public, enabling the computer tosee that there are truly 2 separate versions runninge, each with their own configurations, logs and such like. This overclockers thread gives more clues on that.
MovedGoalPosts is offline   Reply With Quote
Old 13-01-2007, 00:23   #11
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
Re: Dual Core Wastage

Quote:
Originally Posted by Rob View Post
I suspect that you would at least have to somehow install tow completely separate versions of the software, i.e. version 1 to \program files\copy 1 & version 2 to \program files \ copy 2. Even then you'd probably have to play around in the registry and what not to ensure the PC identifies the settings of each separate instance as a completely separate program.
I would have thought as much - too much grief.

Hey do you fold for ocuk ? I boinc for them.

Anyway the machine I ran this process on have BOINC running on both processors - as soon as I ran my program the 2 BOINC instances were shuffled both onto the spare core as they should have and returned back to using both cores when my singled thread cr*py program finished.
The Jackal is offline   Reply With Quote
Old 13-01-2007, 00:25   #12
zing_deleted
Guest
 
Posts: n/a
Re: Dual Core Wastage

maybe the single threaded program would have multi threaded if you wasnt boincing all the time lol
  Reply With Quote
Old 13-01-2007, 00:29   #13
MovedGoalPosts
Inactive
 
MovedGoalPosts's Avatar
 
Join Date: Jun 2003
Location: 127.0.0.1
Age: 62
Posts: 15,868
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
Re: Dual Core Wastage

Quote:
Originally Posted by CrC-3rr0r View Post
I would have thought as much - too much grief.

Hey do you fold for ocuk ? I boinc for them.

Anyway the machine I ran this process on have BOINC running on both processors - as soon as I ran my program the 2 BOINC instances were shuffled both onto the spare core as they should have and returned back to using both cores when my singled thread cr*py program finished.
hmm, moving a little but yes I do, working out my identify should be easy based on similarity in siggies

I'm surprised that boinc moved both instances to the spare core, I'd have thought one core would have kept going, while the core devoted to your other application would have virtually shut down.
MovedGoalPosts is offline   Reply With Quote
Old 13-01-2007, 00:45   #14
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
Re: Dual Core Wastage

Quote:
Originally Posted by Rob View Post
I'm surprised that boinc moved both instances to the spare core, I'd have thought one core would have kept going, while the core devoted to your other application would have virtually shut down.
Yeh well BOINC is 'niced' I mean DC runs its processes at low priority in windows terminology.

That meant that before starting my program both cores were fully utilized by boinc.
Once starting my program since it has the priority booted one of the BOINC processes off and hence both processes were fighting over the remaining core.

Process manager therefore looked like this..

Core 1 - My prog
Core 2 - Boinc 1 70% Boinc 2 30% etc
The Jackal is offline   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

Forum Jump


All times are GMT. The time now is 04:41.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum