Earlier quoted context omitted.
Any number we have is going to be sensitive to the workload, so I think it's unfair to say 2-3x without a lot of context. Also, you dismiss ideas that help the database and the OS work together better. For instance, I did "synchronized scans" for postgres. It coordinates sequential scans to start from the block another scan is already reading, improving cache behavior and dramatically reducing seeks. This could have…
Jeff, I am familiar with your work, I lurked on the PostgreSQL hackers mailing list for years when I was hacking on that database. :-) I am not dismissing the coordination of OS and database, it just has really deep limits because the OS must hide information critical to optimizing database throughput. While the increased throughput is a complex function of hardware, workload, etc, it is also consistently substantial…
Subtly Bad Things Linux May Be Doing To PostgreSQL
91–95 of 95 posts
Re: Subtly Bad Things Linux May Be Doing To PostgreSQL
#92Earlier quoted context omitted.
You both overestimate the engineering complexity and underestimate the benefits. I've both designed and worked on a couple different bypass kernels as well PostgreSQL internals over the years. You are correct that the initial development is steep. However, once the infrastructure is there it really is not much different than working with the operating system infrastructure and you gain a level of predictability and s…
Or you could, you know, fix the OS like they are trying to do in TFA.
Re: Subtly Bad Things Linux May Be Doing To PostgreSQL
#93Earlier quoted context omitted.
Any number we have is going to be sensitive to the workload, so I think it's unfair to say 2-3x without a lot of context. Also, you dismiss ideas that help the database and the OS work together better. For instance, I did "synchronized scans" for postgres. It coordinates sequential scans to start from the block another scan is already reading, improving cache behavior and dramatically reducing seeks. This could have…
Jeff, I am familiar with your work, I lurked on the PostgreSQL hackers mailing list for years when I was hacking on that database. :-) I am not dismissing the coordination of OS and database, it just has really deep limits because the OS must hide information critical to optimizing database throughput. While the increased throughput is a complex function of hardware, workload, etc, it is also consistently substantial…
Postgres leaves a lot of performance on the table in much more basic ways, too, so I certainly am not suggesting that postgres is anywhere near optimal.
Re: Subtly Bad Things Linux May Be Doing To PostgreSQL
#94Earlier quoted context omitted.
At this point why aren't you just building the database on top of a minimal OS? Then run that in a VM, say
> Then run that in a VM You think that VMs aren't subject to the host OS scheduler, caching, and memory allocation quirks?
eh, it could pin threads at realtime priority
>caching
vm wouldn't use the OS cache
>memory allocation
it can easily allocate memory up front
Re: Subtly Bad Things Linux May Be Doing To PostgreSQL
#95Anybody know of a FreeBSD comparison?
Dragonfly is probably the best BSD to run for database performance. http://www.dragonflybsd.org/performance/