Announcement

Collapse
No announcement yet.

Meltdown/PTI Mitigation Impact On BSDs vs. Linux

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

  • starshipeleven
    replied
    Originally posted by -MacNuke- View Post
    Pretty sure that every filesystem related benchmark is a benchmark ZFS vs ext4. And we already know that near to every filesystem is slower than ext4 (XFS and f2fs are good too). But that is not the point of this benchmark..
    More like CoW filesystems (ZFS and Btrfs) are slower than conventional ones.

    Would be nice to get OpenSUSE (i.e. btrfs / by default) tested too to provide a data point with a filesystem comparable to ZFS. Michael phoronix

    Leave a comment:


  • kneekoo
    replied
    Originally posted by Pawlerson View Post
    I can't imagine a single task where BSD is faster than Linux.
    Banning virtual hugs, maybe?

    Leave a comment:


  • Guest's Avatar
    Guest replied
    I can't imagine a single task where BSD is faster than Linux.

    Leave a comment:


  • bpetty
    replied
    Originally posted by s_j_newbury View Post
    I believe he's referring to the calling convention for passing function parameters. It is my understanding that indeed the *BSDs (and other UNIX implementations) for x86-32 did pass parameters on the stack http://www.int80h.org/bsdasm/#system-calls, however for x86-64 *BSDs use the SystemV x86-64 ABI the same as Linux. Either way, the compiler would still certainly make use of the CPU registers! It certainly shouldn't be responsible for the slowness of the *BSDs.
    Thank you, that is exactly what I was referring too. It had been so long I couldn't recall it precisely enough to describe it better. I am really glad you pointed out that bit about the x86-64 ABI... that is fascinating.

    Leave a comment:


  • F.Ultra
    replied
    Originally posted by s_j_newbury View Post

    I believe he's referring to the calling convention for passing function parameters. It is my understanding that indeed the *BSDs (and other UNIX implementations) for x86-32 did pass parameters on the stack http://www.int80h.org/bsdasm/#system-calls, however for x86-64 *BSDs use the SystemV x86-64 ABI the same as Linux. Either way, the compiler would still certainly make use of the CPU registers! It certainly shouldn't be responsible for the slowness of the *BSDs.
    Well if he where referring to the system call calling convention then that clearly explains it. It sounded like he was talking about the normal function calling convention :-)

    Leave a comment:


  • maurossi
    replied
    Hi, it would be interesting to get some cpu load increase kpi for some typical workloads (mail server, http server, sip server, database, valve SDK game server)
    and to estimate the impact in term of scaling up/out needed due to M/S.
    Mauro

    Leave a comment:


  • s_j_newbury
    replied
    Originally posted by F.Ultra View Post

    Yes you are remembering wrong. FreeBSD uses GCC and LLVM, both of which utilized as much registers as are available regardless of platform.
    I believe he's referring to the calling convention for passing function parameters. It is my understanding that indeed the *BSDs (and other UNIX implementations) for x86-32 did pass parameters on the stack http://www.int80h.org/bsdasm/#system-calls, however for x86-64 *BSDs use the SystemV x86-64 ABI the same as Linux. Either way, the compiler would still certainly make use of the CPU registers! It certainly shouldn't be responsible for the slowness of the *BSDs.

    Leave a comment:


  • q66_
    replied
    Originally posted by bpetty View Post
    Regardless of Meltdown, I can't believe BSD is so slow. I wonder how much of it is ZFS related. I remember thinking, when I was getting into assembly and FreeBSD, that FreeBSD didn't store values in CPU registers like Linux, but used stack memory or something. Am I remembering that wrong? That would make it easy to port, but a lot slower to run.
    These benchmarks all depend on filesystem performance, and ZFS tends to do worse than something like ext4 out-of-box on single-disk consumer setups, so it's normal.

    Leave a comment:


  • F.Ultra
    replied
    Originally posted by bpetty View Post
    Regardless of Meltdown, I can't believe BSD is so slow. I wonder how much of it is ZFS related. I remember thinking, when I was getting into assembly and FreeBSD, that FreeBSD didn't store values in CPU registers like Linux, but used stack memory or something. Am I remembering that wrong? That would make it easy to port, but a lot slower to run.
    Yes you are remembering wrong. FreeBSD uses GCC and LLVM, both of which utilized as much registers as are available regardless of platform.

    Leave a comment:


  • Space Heater
    replied
    Originally posted by bpetty View Post
    I remember thinking, when I was getting into assembly and FreeBSD, that FreeBSD didn't store values in CPU registers like Linux, but used stack memory or something..
    There's no need to say ridiculous things like that.

    Leave a comment:

Working...
X