The online racing simulator
LFS in High priority
(22 posts, started )
LFS in High priority
Hi everyone.

Every time I start LFS, I have to ctrl+shift+esc out of it and change its priority to High, because otherwise I experience some irritating lags, because other processes are chewing up my CPU power.

Is there any way to make LFS start automaticaly in High priority mode? I know that WinAMP has this built-in somewhere in its Options, but LFS doesn't. How do I force High priority on LFS every time it starts?

Thank you very much for your answers
Make a batch file in your LFS directory with the line
"start /high lfs.exe"
and use this to start LFS.
open the shortcut on your desktop (right mouse , properties) and place this in front of the target
C:\WINDOWS\system32\cmd.exe /c start "" /abovenormal "


then it looks like C:\WINDOWS\system32\cmd.exe /c start "" /abovenormal "C:\LFS\LFS.exe
then it always start in high priority
Quote from swingkid :open the shortcut on your desktop (right mouse , properties) and place this in front of the target
C:\WINDOWS\system32\cmd.exe /c start "" /abovenormal "


then it looks like C:\WINDOWS\system32\cmd.exe /c start "" /abovenormal "C:\LFS\LFS.exe
then it always start in high priority

Thanks a lot, but are you sure with those double quotes? They usually come in pairs
this is what it said on a site about rd 3
(it was to overcome force feedback issues)
quote:
Heres the deal you can either 'Ctrl-Alt-Del and change the priority of the Racedriver or you can add this the begining of the target line in the properties of the of TRD3 shortcut line

C:\WINDOWS\system32\cmd.exe /c start "" /abovenormal

In true Blue Peter Style here is one I did earlier for the default location install



C:\WINDOWS\system32\cmd.exe /c start "" /abovenormal "C:\Program Files\Codemasters\Race Driver 3\RD3.exe"

Yeah, it works Thanks a lot. Only that I changed the abovenormal to high and added a doublequote at the end of the line and it works perfectly
Rather than fix the problem, why not try to cure it by killing (or at least finding out what they are) the other processes.

On an "idle" system, you shouldnt have an processes eating up cpu time, unless of course you have a virus...................
I'm running it on Vista, which has many background processes actively running, for instance the DWM, various svchosts, plus I have uTorrent, ICQ, Skype and Outlook running in the background. Rather than shutting them all down and then restarting (after quitting LFS), I prefer to give LFS high priority and it works flawlessly for me. Don't worry, I have no malware (I guess )
Sounds like a wierd way to do it, I prefer a "lite" system, and only run processes when I need to.

But still, you got your answer regardless
I'm also experiencing stuttering if LFS isn't in high priority mode. The thing is, I prefer using LFSW host browser.
Is there a way to start LFS in high priority from LFSW?
Wow 3 year bump (22nd October 2007, 15:20)

Anyway, I suppose you could... LFSW Would launch LFS using the lfs://join=[hostname]' protocol, right??

Then the protocol would launch the LFS.exe..
So then just do what 'swingkid' said and use the command he gave into a shortcut to lfs and then point the lfs:// protocol to use the shortcut rather than the actual LFS.exe

It should be located in the registry (regedit.exe) at
'HKEY_CLASSES_ROOT\lfs\Shell\Open\Command'
and have the (default) value as the LFS install path.. eg.
"C:\LFS2\LFS.exe" %1

Change that to the location of the shortcut.. like:
"C:\LFS2\LFS-High.lnk" %1

and the 'LFS-High.lnk' has a target line like: C:\WINDOWS\system32\cmd.exe /c start "" /high "C:\LFS2\LFS.exe"
....................................

I think that should work

EDIT: Actually I just did the above and it doesn't launch LFS
It was the same subject

Thanks for the tip. I managed to start LFS with LFS:// protocol in high priority by editing the registry value to the following:

cmd.exe /c start "High Priority" /high "E:\LFS\LFS.exe" %1


Edit:
If the above registry value doesn't work (as it didn't for me after reinstalling windows...), try this one:
cmd.exe /c start /dd:\lfs "High Priority" /high "D:\LFS\LFS.exe" %1

/d parameter defines the directory from which to run the program so point it to the root of your LFS installation.
Quote from cargame.nl :and you wonder why you experience lag?


uTorrent on a system with properly configured QoS won't cause any ping increases at all.
Vista on a system isn't properly configured to begin with. But it's an old thread, didn't released that.
if i do this, will it improve the performance of lfs, or is it not needed unless i have problems?
Uhm, Mainly you're going to just shunt LFS to the top of the processes.. here.. I'll make a "Instance" Thing

Open task manager

  • Important process 1
  • Important process 2
  • (Random junk like skype etc)
  • Important process 3
  • LFS.exe
  • (Other stuff)
So really, You are just Shoving LFS above every process, It's sort of like telling you priority's, Basically if i told you to get to work, But emailing someone was first priority, Thats sort of what your computer would do, Just LFS first, Rest later


However on getting more FPS it might do the opposite and drop your FPS because if it's higher than "Svchost.exe" Then it could cause lag, because Svc is the processes running your desktop and the stuff that makes a computer a computer.. So if you aren't having lag, Then it's not a problem.

alright makes sense, il keep it how it is
Funny how this thread got revived after 3 years

Just a little update for you guys:
- I still play LFS this way (in high priority) since the thread was made without a single issue
- as for the uTorrent comments: uTorrent might cause internet lag, which I don't care about because I don't play online that much. But uTorrent might cause system lags when reading/writing files from/to disk for example
- if you don't give LFS realtime priority, your other processes will be still fine (emails are comming, ICQ works, uTorrent downloads gay porn etc.)

I however one tried this with Half Life 2 and although the game ran smoothly, it didn't react to mouse and kb inputs.

In LFS, running in higher/high priority eliminates system lag (game doesn't stutter, which happened to me even during replays before).
Quote from breadfan :

I however one tried this with Half Life 2 and although the game ran smoothly, it didn't react to mouse and kb inputs.

In LFS, running in higher/high priority eliminates system lag (game doesn't stutter, which happened to me even during replays before).

IIRC, I think you put it so high in priority it ignored your external USB slots? Wow, I didn't know it just started ignoring things like that.

What is system lag may i ask? is that not like FPS drop but like a 1 - 5 second hang in your computer?
Quote from TehPaws3D :What is system lag may i ask? is that not like FPS drop but like a 1 - 5 second hang in your computer?

Yes pretty much. For me it was maybe half a second of screen freeze and sound looping, once or twice per lap. The freeze wasn't long, but enough to mess driving line, especially while cornering.

I wouldn't call it lag since lag is networking term, rather stutter.

LFS in High priority
(22 posts, started )
FGED GREDG RDFGDR GSFDG