One of my New Years resolutions has been to start on some automation and I want to run it on a VPS.
I have been looking at VPS providers and most of the ones I am looking at offer 4 different options for the Windows operating system:
Windows 2019 Standard (64 bit)
Windows 2016 Standard (64 bit)
Windows 2012 R2 Standard (64 bit)
Windows 2008 R2 Standard (64 bit)
The pre-selected option is Windows 2008 R2 Standard (64 bit) but as that is over 10 years old I wondered if that is the option I should stick with or is it better to go with one of the others and what are the differences/potential issues?
I have tried to search the forum for the answer but couldn't find it.
Which version of Windows for a VPS
- ShaunWhite
- Posts: 10690
- Joined: Sat Sep 03, 2016 3:42 am
Windows 2012 R2 Standard (64 bit) is the best choice imo. Lightweight and does the job.
Peter, what does 2016 (and 2019) do for you that the others don't?
Peter, what does 2016 (and 2019) do for you that the others don't?
- ShaunWhite
- Posts: 10690
- Joined: Sat Sep 03, 2016 3:42 am
I see the logic but it differs from mine. Newer versions have all new issues perhaps yet undiscovered and certainly with less info about them on forums. Older versions are extremely well tested and patched and discussed. Newer versions are also bloated with additional features, often irrelevant to my implementation. Often unless code if code written for an older version is patched for the newer versions they execute slower too because of the translations required. You takes your pick though, probably no bad choice, but I'm not seeing any comments that say newer is better because.......I mean, just look what a nose dive new windows versions have been, the best was probably xp which 'died' years ago.
With a few days off due to the lack of racing I have gotten around to getting the VPS with Windows Server 2016 Standard (64 bit).
Are there any settings that are worth turning off/changing in Windows that anyone can recommend in order to optimise the performance?
For example are there any display settings worth turning off as I don't need any fancy shadowing of windows but rather the basic views.
Many thanks.
I'd recommend using a program like NetTime to keep your VPS clock right, especially if using automation from itPDC wrote: ↑Thu Jan 24, 2019 5:33 pmWith a few days off due to the lack of racing I have gotten around to getting the VPS with Windows Server 2016 Standard (64 bit).
Are there any settings that are worth turning off/changing in Windows that anyone can recommend in order to optimise the performance?
For example are there any display settings worth turning off as I don't need any fancy shadowing of windows but rather the basic views.
Many thanks.
http://www.timesynctool.com/
- ShaunWhite
- Posts: 10690
- Joined: Sat Sep 03, 2016 3:42 am
I haven't seen that one so I'm not sure what it does but you can also add a daily task to run "c:\windows\system32\w32tm.exe /resync" to your TaskScheduler to force a resync.Dallas wrote: ↑Thu Jan 24, 2019 5:39 pmI'd recommend using a program like NetTime to keep your VPS clock right, especially if using automation from it
http://www.timesynctool.com/
If you need to syncronise across servers you can then set up another task to run the WS2012 TimeSyncronisation feature (sc.exe). Chances are you won't though as syncing two seperate servers to world clock shouldn't give you more than about 50ms difference and that's close enough.
sc.exe exists for when you need multiple servers bang in sync, we only ever used it when syncing servers that were attached to different liquidity pools and needed microsecond sync, but I'm going back almost 20yrs so that's a bit fuzzy. My bro-in-law says he syncs to nano seconds these days. I asked him how and he wouldn't tell me
Shaun -or a server, you might want to follow this little guide (same as you have above, but full details): https://www.pretentiousname.com/timesync/ShaunWhite wrote: ↑Fri Jan 25, 2019 3:05 amI haven't seen that one so I'm not sure what it does but you can also add a daily task to run "c:\windows\system32\w32tm.exe /resync" to your TaskScheduler to force a resync.Dallas wrote: ↑Thu Jan 24, 2019 5:39 pmI'd recommend using a program like NetTime to keep your VPS clock right, especially if using automation from it
http://www.timesynctool.com/
If you need to syncronise across servers you can then set up another task to run the WS2012 TimeSyncronisation feature (sc.exe). Chances are you won't though as syncing two seperate servers to world clock shouldn't give you more than about 50ms difference and that's close enough.
sc.exe exists for when you need multiple servers bang in sync, we only ever used it when syncing servers that were attached to different liquidity pools and needed microsecond sync, but I'm going back almost 20yrs so that's a bit fuzzy. My bro-in-law says he syncs to nano seconds these days. I asked him how and he wouldn't tell meI'm pretty sure that I'm not a threat to his outfit, but rules are rules I guess and he's a buttoned-up company guy.
altho things won't drift much in a 24 hour period, setting this to sync at 12:00 daily seems more than resonable to ensure alignment with UK racing etc..
the clock is synced by a windows service once a week by default. the rationale here is to ensure that the clock is up to date bang in front of the trading session. the clock CAN and DOES slip by varying amounts across 7 days (even if only a few seconds over that time period!)
if left for a week, that would be about 2-3 minutes - whao!! certainly worth recalibrating regularly then. I thought once a day was fine
Those larger entries were few and far between but even just working an average of 25ms every 15mins that's still around 2.4secs a day if left which isn't ideal when running automation and gathering data
Are you able to check that log in the program you recommended Dallas, Net Time? Or are you looking somewhere else?
I am surprised the time slips that much, over the course of a week that is significant slippage.
