
Postgres is half as fast in Linux 7.0
An aws engineer discovered a 50% regression in postgres throughput while testing the new Linux 7.0 kernel. The cause turns out to be massive TLB and page faults exacerbated by Postgres process-based design. In this backend engineering show episode I dive deep into how this was discovered, the root cause and the possible fixes and workarounds. Intermediate and Advanced Backend Engineering Course Bundlehttps://courses.husseinnasser.com/bundleMy Book, Root Cause: Stories and Lessons from Two Decades of Backend Engineering Bugs https://amzn.to/4cKfZhe 0:00 Intro2:30 The Discovery6:30 Spinlocks9:25 Preemption 13:00 Root Cause17:00 How Postgres Processes exacerbated the problem 22:30 Is the fix easy?25:50...
پلیر باز میشود: متن کامل، همهی کلمهها قابل کلیک، با ترجمه و فلشکارت.
این قسمت به سطح شما میخورد؟
B2 · بالاتر از متوسط
اگر اخبار تلویزیون را دنبال میکنید، راحت هستید
- ۸۱٪ کلمهها در سطح B1 یا سادهتر هستند.
- ۱۳۰ کلمه در دقیقه: سرعت طبیعی.
- ۱۰۶ کلمهی سختتر (B2 و بالاتر) در کل قسمت.
امتحان کنید: روی هر کلمه بزنید
جملههای واقعی از ابتدای همین قسمت. سطح هر کلمه مشخص شده است.
% .
and that is mainly due to a change in some default configurations that the Linux
روی یک کلمه بزنید تا معنیاش را به زبان خودتان ببینید.
این کلمهها را بلدید؟
8 کلمهی سختتر از این قسمت. روی هر کدام بزنید تا معنیاش را ببینید، بعد علامتش بزنید.
چند کلمه را علامت بزنید تا بگوییم این قسمت چقدر با سطح شما جور است.
این قسمت به سطح شما میخورد؟
B2 · بالاتر از متوسط
اگر اخبار تلویزیون را دنبال میکنید، راحت هستید
- ۸۱٪ کلمهها در سطح B1 یا سادهتر هستند.
- ۱۳۰ کلمه در دقیقه: سرعت طبیعی.
- ۱۰۶ کلمهی سختتر (B2 و بالاتر) در کل قسمت.
متن گفتار
ابتدای این قسمت. متن کامل در پلیر است.
کلمههای سختتر (B2+)
Amazon engineer discovered that Postgres SQL is 50% slower in the new to be released Linux kernel 7.0 and that is mainly due to a change in some default configurations that the Linux kernel decided to change these changes specifically target something called preemption in kernel code. Now of course the Postgres maintainers were all over this, this
happened two months ago and they were all over this and the problem is understood and there is a workaround, not a code workaround, it's just a configuration workaround to enable it, to enable Postgres to perform normally. but I wanted to make this video to illustrate the fundamental design choice
that Postgres made that actually led to this issue and that is the choice of mainly processes versus threads in my opinion. So let's do a deep dive of this topic we'll talk about what happened how this was discovered fantastic troubleshooting by the way from the Italian this is coming from Amazon
این ابتدای قسمت بود. بقیهی قسمت (33 دقیقه) در پلیر است: همهی کلمهها قابل کلیک، با ترجمه، ذخیرهی کلمه و فلشکارت.
ادامه در پلیربهصورت خودکار از صوت تولید شده و ممکن است خطا داشته باشد. صوت متعلق به ناشر آن است و از فید خودش پخش میشود. صاحبان حق میتوانند درخواست حذف بدهند — سیاست کپیرایت و حذف محتوا