{"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\/ro\/blog\/news\/razrabotchik-io_uring-vyyavil-v-qemu-problemu-v-50-80-raz-zamedlyavshuyu-fdmon-v-rezhime-prostoya","title":{"rendered":"Dezvoltatorul io_uring a identificat o problem\u0103 \u00een QEMU care \u00eencetinea fdmon cu 50-80 de ori \u00een modul de repaus.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Jens Axboe, creator of io_uring and the CFQ, Deadline, and Noop I\/O schedulers, proposed a patch for inclusion in the QEMU emulator codebase that reduces latencies by 50-80 times when using fdmon (file descriptor monitoring) with the &#171;aio=io_uring&#187; mode and when the system is in an idle state.     <\/p>\n<p>The issue arose due to the translation of the ppoll() operation into a sleep state with a timeout of 499 ms, despite the presence of input\/output. To resume the main event processing loop, which was being paused due to ppoll(), a patch was proposed that adds a call to the aio_notify() function in the SQE (Submission Queue Entry) creation function.      <\/p>\n<p>The problem emerged during regression testing of io_uring with <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/ro\/vps\/abuzoustojchivye-vps\/\"   title=\"virtu\u00e1lne ma\u0161ini\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"4298\">virtu\u00e1lne ma\u0161ini<\/a> with various block devices. Jens noted an occasional appearance of timeouts when using AHCI\/SATA devices in &#171;aio=io_uring&#187; mode, while tests with virtio-blk or NVMe devices consistently completed successfully in about a second. It is noted that the problem affects all types of block devices, but for AHCI\/SATA devices, the appearance of delays is most pronounced due to the use of MMIO.            <\/p>\n<p>Jens also described his experience debugging the problem using the AI assistant Claude. After defining the scenario that reproduced the conditions for a timeout, he provided the existing debug data to Claude, granted access to the virtual machine, and suggested identifying the probable causes of the detected failure.     <\/p>\n<p>Claude decided to check if performance would degrade with the virtio-blk device and ran a destructive scenario proposed by the developer that reproduces 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 to the AI assistant the deletion of part of the content from \/dev\/vda, it responded &#171;Yes, I did that&#187;, and after a request to fix it, restored the functionality of the virtual disk \/dev\/vda. It is noted that using the AI assistant helped better understand the nuances of event processing cycles in QEMU.      <\/p>\n<p>Este demn de men\u021bionat c\u0103 problema a fost destul de greu de descoperit, deoarece \u00een testele sintetice, \u00eent\u00e2rzierile nu sunt \u00eenregistrate datorit\u0103 influen\u021bei asupra apari\u021biei erorilor, generat de trezirea ciclului de procesare a evenimentelor cu ppoll din cauza unei alte activit\u0103\u021bi, iar testele sintetice de intrare\/ie\u0219ire nu proceseaz\u0103 datele primite. \u00cent\u00e2rzierea a devenit mai vizibil\u0103 odat\u0103 cu ad\u0103ugarea mai multor apeluri usleep() pentru a simula procesarea datelor.      <\/p>\n<p>Dup\u0103 corectare, \u00een sistemul \u00een stare de inactivitate (idle):          time sudo .\/iotest \/dev\/sda          Executat \u00een 25.76 secs      fish           extern         usr time    6.19 millis  783.00 micros    5.41 millis        sys time   12.43 millis  642.00 micros   11.79 millis      <\/p>\n<p>Dup\u0103 corectare, \u00een sistemul \u00een stare de inactivitate:          time sudo .\/iotest \/dev\/sda          Executat \u00een 1.30 secs      fish           extern         usr time    2.14 millis    0.14 millis    2.00 millis        sys time   16.93 millis    1.16 millis   15.76 millis<br \/>\n<br \/>Sursa: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=64834\">opennet.ro<\/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.2.1 - 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\/ro\/blog\/news\/razrabotchik-io_uring-vyyavil-v-qemu-problemu-v-50-80-raz-zamedlyavshuyu-fdmon-v-rezhime-prostoya\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ro_RO\" \/>\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\/ro\/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\udd47Dezvoltatorul io_uring a identificat o problem\u0103 \u00een QEMU, care \u00eencetinea fdmon de 50-80 de ori \u00een modul de inactivitate | ProHoster","description":"Jens Axboe, creatorul io_uring \u0219i al planificatorilor de intrare\/ie\u0219ire CFQ, Deadline \u0219i Noop, a propus includerea \u00eentr-un patch care reduce \u00eent\u00e2rzierile de 50-80 de ori \u00een timpul func\u021bion\u0103rii fdmon (file) \u00een baza de cod a emulatorului QEMU.","canonical_url":"https:\/\/prohoster.info\/ro\/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":"ro_RO","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\/ro\/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\/ro\/wp-json\/wp\/v2\/posts\/161903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/comments?post=161903"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/161903\/revisions"}],"predecessor-version":[{"id":164173,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/161903\/revisions\/164173"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media?parent=161903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/categories?post=161903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/tags?post=161903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}