Page 1 of 1

Single Core CPU shortcut returns error

Posted: Mon Aug 23, 2010 3:15 pm
by LarryP
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.

Posted: Mon Aug 23, 2010 5:31 pm
by Gray_Lensman
deleted

Posted: Mon Aug 23, 2010 5:42 pm
by LarryP
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:

Posted: Mon Aug 23, 2010 5:44 pm
by Nikel
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.

Posted: Mon Aug 23, 2010 5:47 pm
by Nikel
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.

Posted: Mon Aug 23, 2010 6:10 pm
by LarryP
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:

Posted: Mon Aug 23, 2010 6:21 pm
by Nikel
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?

Posted: Mon Aug 23, 2010 6:25 pm
by LarryP
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. :)