Disclaimer: ChatGPT generated document.
| CPU: AMD 7800X3d | |
| Ram: 6000Mhz 32GB DDR5 | |
| # CachyOS Kernel & sched-ext Benchmark Summary | |
| Benchmarked on Linux Kernel `7.2.0-1-cachyos` using the CachyOS `benchie` test suite. | |
| Overall Ranking | |
| | Rank | Kernel / Scheduler | Version | Total Score (↓) | Total Time (s) (↓) | schbench p99 (µs) (↓) | schbench RPS (↑) | cyclictest Max (µs) (↓) | |
Native wayland support is now working consistently for me in VSCode, giving much better text rendering. Unfortunately, it's still hidden behind some command-line flags.
By adding some files to /usr/local/*, you can ensure that VSCode always launches with these flags.
Assuming that the VSCode launcher is /usr/bin/code-oss (as is the case in Arch):
- Create
/usr/local/bin/code-osswith the following content:
| # The general procedure here is adapted from the 7->8 guide here. https://www.tecmint.com/upgrade-centos-7-to-centos-8/ | |
| # | |
| # It is a curated list of my bash history. I entered other commands so hopefully I got the right ones here. | |
| yum upgrade | |
| reboot | |
| dnf install epel-release | |
| dnf install rpmconf | |
| dnf install yum-utils | |
| rpmconf -a # answer "n" to both things |
| Date | 05-05-2021 - 10-17-2023 |
| Revision | R3 |
| Author | Guillaume Dua |
| Reviewers | Loïc Joly, Antoine Morrier |
| <?php | |
| /** | |
| * Binary search - search element in sorted array of values and return true/false | |
| * | |
| * @param $value | |
| * @param $array array | |
| * @return bool | |
| */ | |
| function in_array_binary($value, array &$array) |
Open $ vim /etc/default/grub then add elevator=noop next to GRUB_CMDLINE_LINUX_DEFAULT. Run $ update-grub and $ cat /sys/block/sda/queue/scheduler to be sure that noop is being used:
$ vim /etc/default/grub
$ update-grub
$ cat /sys/block/sda/queue/scheduler
[noop] deadline cfq
| ### | |
| # Proxmox or other server kernel params cheap tune and secure. | |
| # Try it if you have heavy load on server - network or memory / disk. | |
| # No harm assumed but keep your eyes open. | |
| # | |
| # @updated: 2020-02-06 - more params used, adjust some params values, more comments on params | |
| # | |
| ### NETWORK ### |
A week ago I was CC'd in on a thread about Linux packaging, and how to avoid doing it the wrong way (i.e. RPM, Deb, etc.). I've always used MojoSetup and I've never forced distributions to do any additional work, but this is still a new concept to a lot of people. Additionally, Amos suggested that I expand on Itch's FNA appendix, so here's a guide on how I package my games.
This is a bit of an expansion on my MAGFest 2016 presentation, which you can find here:
http://www.flibitijibibo.com/magfest2016/
https://www.youtube.com/watch?v=B83CWUh0Log
I would recommend looking at that first! After that, read on...
