News for hackers. Stuff that matters.
Re:Postgres 9.2 will feature linear read scalability up to 6... by ssmoot on Tuesday April 03, 2012 @04:12PM (#3794598)
Does that mean that FreeBSD will become a bit of a second-class-citizen with the release of 9.2? Or are similar optimizations available and planned there?
Re:Postgres 9.2 will feature linear read scalability up to 6... by jeltz on Tuesday April 03, 2012 @04:48PM (#3794745)
The llseek scalability issue was caused by the Linux kernel taking a lock on a data structure when no such lock was necessary. While it is possible that FreeBSD has the same problem with llseek, I see no reason to assume that is the case.

FreeBSD probably works as well as Linux >= 3.2 when it comes to llseek, but there might have some other scalability issue which is not present in Linux.

EDIT: Here is a link to the Linux kernel patch, PostgreSQL uses SEEK_END to check the file sizes.

https://lkml.org/lkml/2011/9/15/401