{"id":161903,"date":"2026-02-20T17:11:55","date_gmt":"2026-02-20T15:11:55","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/razrabotchik-io_uring-vyyavil-v-qemu-problemu-v-50-80-raz-zamedlyavshuyu-fdmon-v-rezhime-prostoya"},"modified":"2026-02-20T17:11:55","modified_gmt":"2026-02-20T15:11:55","slug":"razrabotchik-io_uring-vyyavil-v-qemu-problemu-v-50-80-raz-zamedlyavshuyu-fdmon-v-rezhime-prostoya","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sk\/blog\/news\/razrabotchik-io_uring-vyyavil-v-qemu-problemu-v-50-80-raz-zamedlyavshuyu-fdmon-v-rezhime-prostoya","title":{"rendered":"V\u00fdvoj\u00e1r io_uring odhalil v QEMU probl\u00e9m, ktor\u00fd spoma\u013eoval fdmon v re\u017eime ne\u010dinnosti 50-80 kr\u00e1t.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Jens Axboe, creator of io_uring and I\/O schedulers CFQ, Deadline, and Noop, proposed a patch for inclusion in the QEMU emulator codebase that reduces latency by 50-80 times when using fdmon (file descriptor monitoring) in the 'aio=io_uring' mode and when the system is in an idle state.     <\/p>\n<p>Probl\u00e9m sa objavil kv\u00f4li pr\u00edli\u0161 r\u00fdchlemu prechodu oper\u00e1cie ppoll() do stavu sp\u00e1nku s \u010dasov\u00fdm obmedzen\u00edm 499 ms, aj ke\u010f bol pr\u00edtomn\u00fd vstup\/v\u00fdstup. Na obnovenie vykon\u00e1vania hlavn\u00e9ho cyklu spracovania udalost\u00ed, ktor\u00e9 bolo pozastaven\u00e9 kv\u00f4li ppoll(), bol navrhnut\u00fd patch, ktor\u00fd prid\u00e1va do funkcie na vytvorenie z\u00e1znamu SQE (Submission Queue Entry) volanie funkcie aio_notify(), ktor\u00e1 prebud\u00ed ppoll() z re\u017eimu sp\u00e1nku.      <\/p>\n<p>Probl\u00e9m sa objavil pri regresnom testovan\u00ed io_uring v <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/sk\/vps\/abuzoustojchivye-vps\/\"   title=\"virtu\u00e1lnych strojoch\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"4298\">virtu\u00e1lnych strojoch<\/a> with various block devices. Jens noted the occasional appearance of timeouts when using AHCI\/SATA devices in 'aio=io_uring' mode, while tests with virtio-blk or NVMe devices consistently completed successfully in about a second. It was observed that the issue affects all types of block devices, but latency is most pronounced for AHCI\/SATA devices due to the use of MMIO.            <\/p>\n<p>Jens tie\u017e op\u00edsal svoje sk\u00fasenosti s laden\u00edm probl\u00e9mu pomocou AI asistenta Claude. Po identifik\u00e1cii scen\u00e1ra reprodukuj\u00faceho podmienky na vznik \u010dasov\u00e9ho obmedzenia odovzdal dostupn\u00e9 ladacie \u00fadaje Claude, poskytol pr\u00edstup k virtu\u00e1lnemu stroju a navrhol identifikova\u0165 pravdepodobn\u00e9 pr\u00ed\u010diny zisten\u00e9ho zlyhania.     <\/p>\n<p>Claude decided to test whether performance would degrade when using a virtio-blk device and executed a destructive scenario proposed by the developer that reproduced the issue. During the test, the first 128 MB of content was deleted from the block device \/dev\/vda in the virtual machine. After this, Claude concluded that the problem was not with virtio-blk. When Jens pointed out the deletion of part of the content from \/dev\/vda to the AI assistant, it replied, 'Yes, I did that,' and after a request to fix it, restored the functionality of the virtual disk \/dev\/vda. It was noted that the use of the AI assistant helped to better understand the peculiarities of executing various event processing loops in QEMU.      <\/p>\n<p>Je pozoruhodn\u00e9, \u017ee probl\u00e9m bolo dos\u0165 \u0165a\u017ek\u00e9 odhali\u0165, preto\u017ee v syntetick\u00fdch testoch sa spomalenie nezaznamen\u00e1va kv\u00f4li tomu, \u017ee na vznik poruchy vpl\u00fdva prebudenie cyklu spracovania udalost\u00ed s ppoll z inej aktivity, a syntetick\u00e9 testy vstupu\/v\u00fdstupu nevykon\u00e1vaj\u00fa spracovanie prijat\u00fdch \u00fadajov. Spomalenie sa stalo viac vidite\u013en\u00fdm, ke\u010f sme pridali nieko\u013eko volan\u00ed usleep() na simul\u00e1ciu spracovania \u00fadajov.      <\/p>\n<p>Pred opravou na syst\u00e9me v ne\u010dinnosti (idle):          time sudo .\/iotest \/dev\/sda          Vykonan\u00e9 za   25.76 sekundy      fish           extern\u00e9        usr \u010das    6.19 millis  783.00 mikros    5.41 millis        sys \u010das   12.43 millis  642.00 mikros   11.79 millis      <\/p>\n<p>Po oprave na syst\u00e9me v ne\u010dinnosti:          time sudo .\/iotest \/dev\/sda          Vykonan\u00e9 za    1.30 sekundy      fish           extern\u00e9        usr \u010das    2.14 millis    0.14 millis    2.00 millis        sys \u010das   16.93 millis    1.16 millis   15.76 millis<br \/>\n<br \/>Zdroj: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=64834\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0419\u0435\u043d\u0441 \u042d\u043a\u0441\u0431\u043e (Jens Axboe), \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c io_uring \u0438 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u043e\u0432 \u0432\u0432\u043e\u0434\u0430\/\u0432\u044b\u0432\u043e\u0434\u0430 CFQ, Deadline \u0438 Noop, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u0434\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 QEMU \u043f\u0430\u0442\u0447, \u0432 50-80 \u0440\u0430\u0437 \u0441\u043e\u043a\u0440\u0430\u0449\u0430\u044e\u0449\u0438\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 fdmon (file descriptor monitoring) \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 &#171;aio=io_uring&#187; \u0438 \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u044f (idle). \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043f\u0440\u043e\u044f\u0432\u043b\u044f\u043b\u0430\u0441\u044c \u0438\u0437-\u0437\u0430 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 ppoll() \u0432 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u0441\u043d\u0430 \u0441 \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u043e\u043c 499 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-161903","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0419\u0435\u043d\u0441 \u042d\u043a\u0441\u0431\u043e (Jens Axboe), \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c io_uring \u0438 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u043e\u0432 \u0432\u0432\u043e\u0434\u0430\/\u0432\u044b\u0432\u043e\u0434\u0430 CFQ, Deadline \u0438 Noop, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u0434\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 QEMU \u043f\u0430\u0442\u0447, \u0432 50-80 \u0440\u0430\u0437 \u0441\u043e\u043a\u0440\u0430\u0449\u0430\u044e\u0449\u0438\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 fdmon (file.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Erik Peterson\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sk\/blog\/news\/razrabotchik-io_uring-vyyavil-v-qemu-problemu-v-50-80-raz-zamedlyavshuyu-fdmon-v-rezhime-prostoya\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"sk_SK\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a io_uring \u0432\u044b\u044f\u0432\u0438\u043b \u0432 QEMU \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443, \u0432 50-80 \u0440\u0430\u0437 \u0437\u0430\u043c\u0435\u0434\u043b\u044f\u0432\u0448\u0443\u044e fdmon \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u044f | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0419\u0435\u043d\u0441 \u042d\u043a\u0441\u0431\u043e (Jens Axboe), \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c io_uring \u0438 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u043e\u0432 \u0432\u0432\u043e\u0434\u0430\/\u0432\u044b\u0432\u043e\u0434\u0430 CFQ, Deadline \u0438 Noop, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u0434\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 QEMU \u043f\u0430\u0442\u0447, \u0432 50-80 \u0440\u0430\u0437 \u0441\u043e\u043a\u0440\u0430\u0449\u0430\u044e\u0449\u0438\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 fdmon (file.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sk\/blog\/news\/razrabotchik-io_uring-vyyavil-v-qemu-problemu-v-50-80-raz-zamedlyavshuyu-fdmon-v-rezhime-prostoya\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-02-20T15:11:55+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-02-20T15:11:55+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47V\u00fdvoj\u00e1r io_uring odhalil v QEMU probl\u00e9m, ktor\u00fd 50-80 kr\u00e1t spoma\u013eoval fdmon v re\u017eime ne\u010dinnosti | ProHoster","description":"Jens Axboe, tvorca io_uring a pl\u00e1nova\u010dov vstupu\/v\u00fdstupu CFQ, Deadline a Noop, navrhol na zahrnutie do k\u00f3dovej z\u00e1kladne emul\u00e1tora QEMU patch, ktor\u00fd zni\u017euje oneskorenia pri pr\u00e1ci fdmon (file) 50-80 kr\u00e1t.","canonical_url":"https:\/\/prohoster.info\/sk\/blog\/news\/razrabotchik-io_uring-vyyavil-v-qemu-problemu-v-50-80-raz-zamedlyavshuyu-fdmon-v-rezhime-prostoya","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sk_SK","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a io_uring \u0432\u044b\u044f\u0432\u0438\u043b \u0432 QEMU \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443, \u0432 50-80 \u0440\u0430\u0437 \u0437\u0430\u043c\u0435\u0434\u043b\u044f\u0432\u0448\u0443\u044e fdmon \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u044f | ProHoster","og:description":"\u0419\u0435\u043d\u0441 \u042d\u043a\u0441\u0431\u043e (Jens Axboe), \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c io_uring \u0438 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u043e\u0432 \u0432\u0432\u043e\u0434\u0430\/\u0432\u044b\u0432\u043e\u0434\u0430 CFQ, Deadline \u0438 Noop, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0434\u043b\u044f \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u0434\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 QEMU \u043f\u0430\u0442\u0447, \u0432 50-80 \u0440\u0430\u0437 \u0441\u043e\u043a\u0440\u0430\u0449\u0430\u044e\u0449\u0438\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 fdmon (file.","og:url":"https:\/\/prohoster.info\/sk\/blog\/news\/razrabotchik-io_uring-vyyavil-v-qemu-problemu-v-50-80-raz-zamedlyavshuyu-fdmon-v-rezhime-prostoya","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-02-20T15:11:55+00:00","article:modified_time":"2026-02-20T15:11:55+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"161903","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-02-20 15:12:29","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2026-02-20 15:11:55","updated":"2026-02-20 15:12:29","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/posts\/161903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/comments?post=161903"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/posts\/161903\/revisions"}],"predecessor-version":[{"id":164173,"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/posts\/161903\/revisions\/164173"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/media?parent=161903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/categories?post=161903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/tags?post=161903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}