Re: mysql scaling questions



Bruce Evans wrote:

FreeBSD has more layers, with less optimization in each layer. Normally
this doesn't matter, since everyone knows that syscalls are expensive
and avoids them :-).

My point is that the majority of applications are written for Linux and
they are both syscall-intensive and faster there, so maybe something can
be done in FreeBSD.

No Pipe-based Context Switching? That should be included in benchmarks to
show FreeBSD slowness :-), since it is affected by both slow syscalls and
slow context switches.

Unfortunately, I found out this one on my own application.

Um, execl and process creation are not syscall-intensive. They take about
1 syscall each.

Yes, in what amounts to a tight loop. They don't try to measure syscalls
directly but I'd say they are intensive.

Linux wins this benchmark by a lot mainly because too much weight is given
to the file copy benchmarks

In this particular instance I don't care about file system performance
(and I believe that unixbench's benchmarks are outdated in this way and
measure more of the file system cache than they should). Though it would
be nice to have a FreeBSD file system that doesn't suck :)

Attachment: signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • Re: mysql scaling questions
    ... Does anyone have a theory why syscalls are so expensive in FreeBSD? ... larger L2 cache is likely to be especially helpful in benchmarks. ... Linux wins this benchmark by a lot mainly because too much weight is given ...
    (freebsd-performance)
  • Re: [kvm-devel] [PATCH][RFC] KVM: prepare user interface for smp guests
    ... I'd suggest going to a syscall-based model with your own file system right ... similar to eventpollfs, and hand out file descriptors to inodes in it, ... kernel changes for the development phase, and can easily switch to real ... I really think that a small number of syscalls is where you should be ...
    (Linux-Kernel)
  • Re: syscall gettimeofday
    ... What kind of a file system are you using? ... how did you measure that gettimeofday is the frequently ... STRANGER IN A STRANGE LAND ... > is second of most frequently used syscalls. ...
    (comp.os.linux.development.system)
  • Re: mysql scaling questions
    ... are the results of unixbench 4.1 on two machines. ... Per the comments in this thread, i386 syscalls should be less ... FreeBSD 7.0-RC1: System Call Overhead ... Knoppix Linux 2.6.9: System Call Overhead ...
    (freebsd-performance)
  • Re: mysql scaling questions
    ... are the results of unixbench 4.1 on two machines. ... I ran the syscall benchmark from UnixBench on the same hardware (Intel ... Per the comments in this thread, i386 syscalls should be less ... FreeBSD 7.0-RC1: System Call Overhead ...
    (freebsd-performance)