Steam start up command lines: Multi-core & EnableAsyncKeys?

Discuss almost anything about RailWorks.

Steam start up command lines: Multi-core & EnableAsyncKeys?

Unread postby Machinist » Tue Apr 10, 2012 7:35 pm

As happens with -FPSLimit=XX, is also possible to command on Steam (pre-launching TS2012) to use multi-core and enable async keys? instead of checking their box on Command Line Options on Splash Screen every time I launch the game (dozens per day)?
Who doesn't have dog, hunts with cat.
User avatar
Machinist
 
Posts: 1105
Joined: Fri Apr 02, 2010 1:02 am
Location: São Paulo, Brazil

Re: Steam start up command lines: Multi-core & EnableAsyncKe

Unread postby Rich_S » Wed Apr 11, 2012 11:31 pm

I would like to see a list of all Rail Works command line options. Does anyone know if such a list exists? and if so, where can it be found / viewed?
Cheers,
Rich S.
User avatar
Rich_S
 
Posts: 708
Joined: Tue Aug 24, 2010 11:19 pm
Location: Baden, PA, USA

Re: Steam start up command lines: Multi-core & EnableAsyncKe

Unread postby Cardinal51 » Thu Apr 12, 2012 3:52 am

When should one tick the Multi-Core box ?
ASUS Laptop Zenbook Pro 14 - Intel Core i9 13900H - 32 GB RAM - 1 TB SSD - 8 GB NVIDIA GeForce RTX 4060 GPU - Win11 64 Home - 14.5" Screen @ 2880 x 1800 - Graphics @ HIGH. Having a great time running tough American diesels!
Currently running - TSC 2024 v77.6b
User avatar
Cardinal51
 
Posts: 1096
Joined: Thu Mar 08, 2012 7:19 pm

Re: Steam start up command lines: Multi-core & EnableAsyncKe

Unread postby Machinist » Thu Apr 12, 2012 10:07 am

Cardinal51 wrote:When should one tick the Multi-Core box ?

When? when you have multi-core and getting better performance with that option checked. The problem is that I launch the game dozens times a day, and every time I have to check both boxes I use often. The command option on Steam overrides the options on splash screen, for example: if you set on Steam -FPSLimit=25 and check the box 30FPS Lock (or even leave unchecked either 30FPS Lock or 60FPS Lock) the game will automatically lock at 25FPS. If you use Steam option you don't need to check (everytime) any box before starting Train Simulator 2012. *!!wink!!*
Last edited by Machinist on Thu Apr 12, 2012 10:20 am, edited 2 times in total.
Who doesn't have dog, hunts with cat.
User avatar
Machinist
 
Posts: 1105
Joined: Fri Apr 02, 2010 1:02 am
Location: São Paulo, Brazil

Re: Steam start up command lines: Multi-core & EnableAsyncKe

Unread postby Cardinal51 » Thu Apr 12, 2012 10:13 am

Thanks for the info. I have the following CPU:

Intel Core 2 Quad Q6600 @ 2.40GHz

So ticking the multi-core box could show an improvement in RW3 performance ?
ASUS Laptop Zenbook Pro 14 - Intel Core i9 13900H - 32 GB RAM - 1 TB SSD - 8 GB NVIDIA GeForce RTX 4060 GPU - Win11 64 Home - 14.5" Screen @ 2880 x 1800 - Graphics @ HIGH. Having a great time running tough American diesels!
Currently running - TSC 2024 v77.6b
User avatar
Cardinal51
 
Posts: 1096
Joined: Thu Mar 08, 2012 7:19 pm

Re: Steam start up command lines: Multi-core & EnableAsyncKe

Unread postby Machinist » Thu Apr 12, 2012 10:18 am

Cardinal51 wrote:Thanks for the info. I have the following CPU:

Intel Core 2 Quad Q6600 @ 2.40GHz

So ticking the multi-core box could show an improvement in RW3 performance ?

Yep, "should" show an improvement... On my medium rig (AMD Dual Core 5200 @2.7GHz) the CPU usage is average 55% with Multi-Core uncheck, and 70% with it checked. But it depends of any machine...
Who doesn't have dog, hunts with cat.
User avatar
Machinist
 
Posts: 1105
Joined: Fri Apr 02, 2010 1:02 am
Location: São Paulo, Brazil

Re: Steam start up command lines: Multi-core & EnableAsyncKeys?

Unread postby Cardinal51 » Thu Apr 12, 2012 11:26 am

I just did a test. Compared FPS, no noticeable difference. I did not think of comparing CPU%, will do that tomorrow.

. . . . CPU usage is average 55% with Multi-Core uncheck, and 70% with it checked. . . . .


Is that good or is that bad ? I mean, when multi-core is checked should CPU% be lower or higher ? I would think lower CPU% is better ?!?

Cardi

PS: In case I am taking this thread in a non intended direction moderator feel free to split/move my messages.
ASUS Laptop Zenbook Pro 14 - Intel Core i9 13900H - 32 GB RAM - 1 TB SSD - 8 GB NVIDIA GeForce RTX 4060 GPU - Win11 64 Home - 14.5" Screen @ 2880 x 1800 - Graphics @ HIGH. Having a great time running tough American diesels!
Currently running - TSC 2024 v77.6b
User avatar
Cardinal51
 
Posts: 1096
Joined: Thu Mar 08, 2012 7:19 pm

Re: Steam start up command lines: Multi-core & EnableAsyncKeys?

Unread postby Machinist » Thu Apr 12, 2012 12:47 pm

In my case the usage of one CPU is around 80% and other 35%, and when checked 80% and 60%, so it may means that game is using more of the other processor. Of course as better the processors (in comparison to other processors) as lower the "average" cpus usage should be. There are some other topics about the multi-core feature and the related usage on dual and quad system, I just can't find them now.
Cardinal51 wrote:I just did a test. Compared FPS, no noticeable difference. I did not think of comparing CPU%, will do that tomorrow.

Compare only FPS is not enough, with higher usage of CPU you may be getting lower framerates (which makes game run smoother) even keeping same fps. It was discussed recently in another thread.
Who doesn't have dog, hunts with cat.
User avatar
Machinist
 
Posts: 1105
Joined: Fri Apr 02, 2010 1:02 am
Location: São Paulo, Brazil

Re: Steam start up command lines: Multi-core & EnableAsyncKeys?

Unread postby snowstorm » Fri Apr 13, 2012 12:15 am

Effect of multi-core on CPU usage with an i5-2500K:

http://www.trainsim.com/vbts/showthread ... ost1733874

Effect on frame rate on the same system:

viewtopic.php?f=6&t=4739

Basically, on the test system, the multi-core setting appeared to have some significant impact on how the CPU is utilised, but this didn't translate into a significant frame rate/frametime difference.

An earlier test I did showed FPS lock (at 30) didn't improve performance on the test system either. I presume the theory people have about the setting is that resources consumed maintaining unnecessarily high frame rates would be freed up to prevent unacceptably low frame rates, whereas the test showed all it did was cap the frame rate where it'd otherwise have been above 30, while dipping below 30 in pretty much the same pattern as when FPS lock was disabled.

It could perhaps alter one's perception by setting a mediocre frame rate as a baseline against which frame rate drops don't contrast as severely, perhaps with a dose of placebo (the suggestion it improves performance) complicating the psychology of perceived "smoothness". Don't think it worked well on me, in any case.
snowstorm
 
Posts: 48
Joined: Thu Oct 13, 2011 6:47 am

Re: Steam start up command lines: Multi-core & EnableAsyncKe

Unread postby Toldrabald » Fri Apr 13, 2012 5:19 am

Machinist wrote:
Cardinal51 wrote:When should one tick the Multi-Core box ?

When? when you have multi-core and getting better performance with that option checked.


The multi-core option is in the section of the debug and developer tools for a reason: it should not be used by every user!

I don't have the explanation at hand, but Derek (or someone else from RSC, but I believe it was him) said after a lenghty discussion at UKTS that it is primarily meant for users of Windows XP 32 Bit with a certain generation or type of processor which causes trouble or is not supported by default from RW. So when ticked it uses special commands to "speak" with the CPU, which may also include some debug options. These special commands cause higher CPU load, because they do not make use of default processing options. So if you do not have any trouble running the game (low fps do not count in general) do not use the multi-core option!

Railworks has multi-core support by default and if you benchmark your CPU while running it - or simply watch it in taskmanager - you will see that on a dual core CPU both cores are used almost equally, and on quad cores that at least two and at times all four cores are in use.

If you are running with low fps, better try the fpslock and set it on 25 or 30 as described by Machinist above. By default RW will try to make 100% use of every computing power available (or at it least it should, does not really look like that it really does it) and load everything in advance to get the highest fps possible. However it does not have very good load balancing and when getting to a very asset crowded area you'll notice the fps drops. When using fps lock, RW will concentrate on bringing a most fluid performance and try keeping the set amount of fps. Meaning in a low dense asset area only requiring like 20% computing power if the 30fps can be achieved and when going into more crowded areas using more resources.
I'd recommend using the fpslock for everyone, even when RW runs fine and fluent at 50-60+ fps. Since a lot of timers, scripts and also the ingame clock rely on the fps count (which is a horrible solution by the way) having a fix fps will stabilize the game and can resolve some AI and loco-script problems.
Toldrabald
 
Posts: 166
Joined: Sat Jun 12, 2010 8:57 am
Location: Germany

Re: Steam start up command lines: Multi-core & EnableAsyncKe

Unread postby snowstorm » Fri Apr 13, 2012 7:01 am

Toldrabald wrote:When using fps lock, RW will concentrate on bringing a most fluid performance


How do you define "a most fluid performance"? The frame rate being capped at fpslock, with no gain below fpslock? Because that's what my test indicated. Consider these charts for Horseshoe Curve's The Champion scenario, cropped to show just the performance below the 30 FPS mark:

FPS lock disabled
Image

FPS lock set to 30
Image

Would be great to see such results validated or contradicted by others on their various configurations.
snowstorm
 
Posts: 48
Joined: Thu Oct 13, 2011 6:47 am

Re: Steam start up command lines: Multi-core & EnableAsyncKeys?

Unread postby mojo12012 » Sat Apr 14, 2012 7:13 am

"Thank you for contacting the Railsimulator.com customer support team. It is advisable to tick multi core in order to take full advantage of your processing power, your graphics set up is a matter of individual preference." That's the response I got from RSC Support a couple of months ago when asking for clarification in view of all the contradictory posts about this issue, and also my own query about Crossfire support in the sim. In my experience, ticking mulitcore "seems" to run some scenarios more smoothly on my setup-at least the rubber banding and stutters are less apparent-while not doing anything about fps. I can tolerate the latter down to the high teens, it's the stuttering and rubber banding that messes with my immersion factor. It's a shame there's no definitive RSC statement on the above as different people get/give different advice, and some of it may be dated. And of course, what might have a positive effect on my computer may not be so beneficial for someone else's !**conf**! The only way to find out appears to be using one scenario as a test bed, and trying the option ticked/unticked. But then again, it might not work for every scenario/route. And it does also depend on whether there's an "R" in the month **!!bang!!** Actually, I still enjoy the sim despite the aggravation !!*ok*!!
mojo12012
 
Posts: 49
Joined: Mon Jan 16, 2012 3:51 pm

Re: Steam start up command lines: Multi-core & EnableAsyncKeys?

Unread postby OldProf » Sat Apr 14, 2012 10:17 am

I understand "stuttering", but please explain what "rubberbanding" means.

Thanks,
Tom Pallen (Old Prof)

{Win 10 Home 64-bit; Intel Core i7 6700 @ 3.40GHz; 16.0GB Single-Channel @ 1063 MHz (15-15-15-364); 2047MB NVIDIA GeForce GTX 960}
User avatar
OldProf
 
Posts: 2743
Joined: Wed Sep 09, 2009 10:09 am

Re: Steam start up command lines: Multi-core & EnableAsyncKeys?

Unread postby artimrj » Sat Apr 14, 2012 10:52 am

Old Prof wrote:I understand "stuttering", but please explain what "rubberbanding" means.

Thanks,


Rubber banding is, for me, mostly when you look out the side window and the scenery goes by in spurts. Normal then slow, normal then slow. This has gotten better with all the updates and locking your FPS helps also.
Bob Artim - Generation X²
I don't have a PHD, I have a DD214... Freedom carries sacrifice
I'm crawling in the dark looking for the answer
User avatar
artimrj
 
Posts: 4721
Joined: Sun Jan 31, 2010 3:07 pm
Location: Beaver, Pennsylvania

Re: Steam start up command lines: Multi-core & EnableAsyncKeys?

Unread postby arizonachris » Sat Apr 14, 2012 4:40 pm

I'm very familiar with rubber banding related to playing an online game with a high ping server. it's like walking forward, then all of a sudden you are 5 steps back, walking forward again. Like a rubber band knocked you back as you walked/ drove/ flew into it. But that's a high ping server issue. I have not seen any rubber banding with my PC and RW. Just that darn stutter when the game reads from the hard drive. Not much to do about that, even the high speed (EXPENSIVE!!!!!!!) SSD drives don't help a lot.
Ryzen 7 2700K, Asus Prime X570P, 32Gb DDR4, 2x 1Tb M.2 SSD's, RTX2060 6Gb, Occulus Rift
Win 10 Pro 64bit, keyboard/ mouse/ wheel/ pedals/ baseball bat
Security Coordinator on the Battleship Iowa
User avatar
arizonachris
 
Posts: 3955
Joined: Sun Mar 21, 2010 10:36 am
Location: Southern California

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests