Page 1 of 1

What does this command and why it enhances performance?

Posted: Fri Jul 15, 2022 12:06 pm
by okasion
Hello guys, I wanted to ask why the following command:

%command% -F -p 15 -n -4 -a 0x1

enhances so much the performance of games not only on Steam but on any software I run with these parameters; I tried looking for some info on these, what they are and what they do, but nothing came up.

Thanks in advance.

Re: What does this command and why it enhances performance?

Posted: Fri Jul 15, 2022 1:23 pm
by dolphin_oracle
looks like gibberish to me.

despite what you think, those switches and parameters would not be valid for any application, they would be specific to the application. some might ignore parameters that don't mean anything but some apps will tell you that a switch is invalid and fail to launch.

what is the source of those switches?

Re: What does this command and why it enhances performance?  [Solved]

Posted: Fri Jul 15, 2022 2:31 pm
by Huckleberry Finn
I've found this: https://steamcommunity.com/app/221810/d ... ?l=russian
https://manpages.ubuntu.com/manpages/xenial/man8/schedtool.8.html wrote:
schedtool can set all CPU scheduling parameters Linux is capable of or display information for given processes ...

Re: What does this command and why it enhances performance?

Posted: Fri Jul 15, 2022 3:03 pm
by oops
Interesting.
... But -F parameter can be dangerous with schedtool.

schedtool
-F or -1
to SCHED_FIFO root-credentials required

https://manpages.ubuntu.com/manpages/xe ... ool.8.html

Re: What does this command and why it enhances performance?

Posted: Fri Jul 15, 2022 3:27 pm
by dolphin_oracle
so those switches would go onto schedtool, not just any old app.

Re: What does this command and why it enhances performance?

Posted: Fri Jul 15, 2022 4:15 pm
by okasion
I kinda understand what they do now.. although these commands sounds dangerous, I have been using for a year mostly in games that required a lot of processing and it really helped with the performance, and never had any problem whatsoever with anything.

I found this commands in an Arch wiki that explained how to run games to the maximum capability of the system, but I searched and couldn't find the wiki anymore.

Re: What does this command and why it enhances performance?

Posted: Fri Jul 15, 2022 4:53 pm
by Huckleberry Finn
okasion wrote: Fri Jul 15, 2022 4:15 pm... found this commands in an Arch wiki that explained how to run games to the maximum capability of the system, but I searched and couldn't find the wiki anymore.
Though you might've already noticed the links:

https://wiki.archlinux.org/index.php/Ga ... neral_case

https://wiki.archlinux.org/title/Gaming#Core_affinity