Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

July 23 2010

hacksause
08:52
None of the [tested] systems [Linux, FreeBSD and Mac OS X] appeared to offer fair scheduling. Late-arriving S lock requests were granted in preference to waiting X lock requests. In fact, on some of the systems, when multiple X lock requests were waiting, and all the S lock requests were released, the X request that was then granted was not always the first X that had made its request! So not only did I observe lock starvation by late-arriving S lock requests, I also observed lock starvation by late-arriving X lock requests.
Journal of a Programmer: Unix file locking does not implement fair scheduling
Reposted bybrightbyte brightbyte