User avatar
LarryP
Sergeant
Posts: 65
Joined: Sat Sep 23, 2006 5:46 pm
Location: Carson City, Nevada, USA

Single Core CPU shortcut returns error

Mon Aug 23, 2010 3:15 pm

The batch file returns the error that "/affinity is not a valid argument." I have a single core multithreaded 3.6 ghz CPU running on XP Pro 32 bit.

I can open the Task Manager and right click an exe running and I have the option to Set Affinity for it, so this is a weird error.

Any idea what to try now? My mouse lag is bad with the normal shortcut start up.

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Mon Aug 23, 2010 5:31 pm

deleted

User avatar
LarryP
Sergeant
Posts: 65
Joined: Sat Sep 23, 2006 5:46 pm
Location: Carson City, Nevada, USA

Mon Aug 23, 2010 5:42 pm

OK. I understand.

The issue I have though is that when I right click on a program in the Task manager, I am given an option for setting the affinity for "0 or 1", and with this being a multithreaded CPU, even Windows thinks I have a multi core system. It reports that in my system information. It's crazy. I have had these issues since day one. I was hoping I could use this batch file to change the affinity setting without going out of the program while running and setting it to see if the mouse got better.

I hope I made sense... :bonk:

User avatar
Nikel
Posts: 2920
Joined: Sun Apr 20, 2008 8:38 pm

Mon Aug 23, 2010 5:44 pm

I suppose that your processor supports hyperthreading. You have one real processor and another virtual


If the shortcut is not working, have tou tried to set the affinity manually in the task manager? I think that the real processor is 0, so uncheck 1.

User avatar
Nikel
Posts: 2920
Joined: Sun Apr 20, 2008 8:38 pm

Mon Aug 23, 2010 5:47 pm

I suppose that your processor supports hyperthreading. You have one real processor and another virtual


Multicore processors have several real cores, like the core2duo. Lately intel released the i7,... reintroducing hyperthreading, so you may have now 4 real cores and 4 virtual for a total of 8 threads


If the shortcut is not working, have tou tried to set the affinity manually in the task manager? I think that the real processor is 0, so uncheck 1.

User avatar
LarryP
Sergeant
Posts: 65
Joined: Sat Sep 23, 2006 5:46 pm
Location: Carson City, Nevada, USA

Mon Aug 23, 2010 6:10 pm

Nikel wrote:I suppose that your processor supports hyperthreading. You have one real processor and another virtual


Multicore processors have several real cores, like the core2duo. Lately intel released the i7,... reintroducing hyperthreading, so you may have now 4 real cores and 4 virtual for a total of 8 threads


If the shortcut is not working, have tou tried to set the affinity manually in the task manager? I think that the real processor is 0, so uncheck 1.


I have in the bios, an option to turn on or off multithread, and when I turn it off, most programs run much slower. I have no idea how it works, virtual or otherwise. I always thought that it was all built into the single core CPU, and not virtual.

Now my laptop is a dual core and it loads WW1 much faster. However the lagging mouse issue is worse on it. So I will have to tinker around with that a bit.

This is the line in the batch file (ww1.bat) that I just tried and it solved my lagging mouse problem very nicely:
cmd.exe /C start /high ww1.exe
It just runs the program at a high priority, nothing fancy but it's up one level from normal. One above that would be REALTIME which I have not tried, but don't need to now.

I may do like you mentioned and set the affinity to 0 from the Task Manager. Thanks for the reply! :thumbsup:

User avatar
Nikel
Posts: 2920
Joined: Sun Apr 20, 2008 8:38 pm

Mon Aug 23, 2010 6:21 pm

The proper terms are physical and logical, you have 1 physical processor or core but two logical, this is hyperthreading. I used the term virtual meaning thet they are really not two.

OTOH in your laptop you have two physical (real) cores.

Of course 2 physical cores are better that two logical. You may see an increase of performance with hyperthreading, but not will alla pplications and in some of them it is even worse.


In your laptop the Single Core CPU shortcut should work properly, have you tried?

User avatar
LarryP
Sergeant
Posts: 65
Joined: Sat Sep 23, 2006 5:46 pm
Location: Carson City, Nevada, USA

Mon Aug 23, 2010 6:25 pm

No, I have not tried the shortcut yet for my laptop. I won't get on that until later this afternoon.

I knew what you meant about physical and logical. Virtual is the same as logical. It's like the virtual (or logical) ram drive we would set up in DOS in the old days to make programs run smoother. :)

Return to “WW1 : La Grande Guerre 14-18”

Who is online

Users browsing this forum: No registered users and 7 guests