Announcement

Collapse
No announcement yet.

Benchmarking Ubuntu's Low-Latency Kernel & Liquorix Post-Meltdown

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • deusexmachina
    replied
    Originally posted by Linuxxx View Post

    I think you missed the most important part from that link you posted:


    So, 1000 Hz is clearly the best, no matter how you look at it!
    OK, but *why* does config_hz = 1000hz consistently increase frame rate? Especially since 250hz shows decreased latency in other benchmarks... It isn't clear to me how it works.

    Leave a comment:


  • Linuxxx
    replied
    Originally posted by make_adobe_on_Linux! View Post

    After reading these benchmarks I realize I understand even less about what CONFIG_HZ actually does:
    The Linux kernel's CONFIG_HZ option can modify the balance between system throughput and latency. In this article, we explore its effects on KVM.


    Seems 1000hz isn't necessarily the lowest latency, for example.
    I think you missed the most important part from that link you posted:
    Overall, 1000Hz nets better minimum framerates.
    ...
    It is advisable to pick 1000Hz over 100Hz or 250Hz in order to receive a small but tangible minimum framerate improvement while gaming.
    So, 1000 Hz is clearly the best, no matter how you look at it!

    Leave a comment:


  • deusexmachina
    replied
    Originally posted by Linuxxx View Post

    Note that was what I used back then...

    Nowadays I just run Ubuntu 18.04 LTS with the "lowlatency" kernel. (Which does have a 1000 Hz timer tick, by the way.)
    After reading these benchmarks I realize I understand even less about what CONFIG_HZ actually does:
    The Linux kernel's CONFIG_HZ option can modify the balance between system throughput and latency. In this article, we explore its effects on KVM.


    Seems 1000hz isn't necessarily the lowest latency, for example.

    Leave a comment:


  • Linuxxx
    replied
    Originally posted by make_adobe_on_Linux! View Post

    Why not 1000hz?
    https://serverfault.com/questions/37...solution-timer

    I'll have to check how many of these settings are used in Arch by default...
    Note that was what I used back then...

    Nowadays I just run Ubuntu 18.04 LTS with the "lowlatency" kernel. (Which does have a 1000 Hz timer tick, by the way.)

    Leave a comment:


  • deusexmachina
    replied
    Originally posted by Linuxxx View Post
    Here's how one can achieve real smoothness:

    - Use openSUSE Tumbleweed, since it contains the best Linux Kernel config by default. (250Hz tick timer, PREEMPT enabled)

    - Use the deadline İO scheduler.

    - Use the 'performance' governor.

    - Additionally, if stuck on İntel, make sure to set the 'performance-bias' to '0'!

    Now enjoy your silky-smooth Linux experience!
    Why not 1000hz?
    I am trying to improve performance on my server. I have a few processes that need low jitter (less than 10ms variance). I have a load average of 4 maximum on an i7-920 (4 physical cores, 8 with HT).


    I'll have to check how many of these settings are used in Arch by default...

    Leave a comment:


  • AndyChow
    replied
    Originally posted by geearf View Post

    If you want the hardware to be in charge, why not use none then?
    Because noop does request merges. So it can define sequential requests while it's in queue. It just doesn't schedule anything.

    Leave a comment:


  • Paradox Ethereal
    replied
    1000hz tick? You should go the other way. I did minimal jitter config a few years ago, and found 90hz to be the best. Another critical aspect is renicing X to -15.

    With a good minimal jitter kernel config, and OS tweaks, I got the peak jitter below 200 microseconds. And that was a few years ago! Extremely smooth graphics, and responsive OS.
    Last edited by Paradox Ethereal; 17 January 2018, 08:25 PM.

    Leave a comment:


  • linuxgeex
    replied
    Originally posted by HenryM View Post
    I'm surprised Liquorix topped any tests, as I'm pretty sure it is tuned for UX and low latency rather than throughput (which is why I use it).

    Sure would be interesting if somebody could measure actual input latency in say CS:GO with a variety of hardware and software. I can't find anything like that online, other than someone testing the Dolphin emu on windows.
    If you care about input lag: disable wait for VBL, disable triple/double buffering in your app and in Xorg, and use a VGA CRT monitor.

    Leave a comment:


  • Linuxxx
    replied
    Originally posted by Rallos Zek View Post

    Until BFQ crashes or hard-locks their system and watch them crawl back to CFQ or Deadline.
    True, had that happen to me already!

    So, just like I thought, BFQ and/or blk-mq still isn't ready for prime-time just yet...

    Leave a comment:


  • geearf
    replied
    Originally posted by AndyChow View Post
    These days, noop is probably the best scheduler, if you're seeking overall performance. SSDs have all sorts of internal algorithms which we know nothing about. noop just serves it and lets the hardware decide. Yes, if you're interested in "smooth" performance, you can try to mess things up with another scheduler, but if you're a cli, emacs type of person, go noop all the way. FIFO and let the hardware do it's magic.
    If you want the hardware to be in charge, why not use none then?

    Leave a comment:

Working...
X