Forums before death by AOL, social media and spammers... "We can't have nice things"
|    linux.debian.kernel    |    Debian kernel discussions    |    2,884 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,890 of 2,884    |
|    Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= to All    |
|    Re: Bug#1122340: I/O scheduler shows "[m    |
|    10 Dec 25 16:20:01    |
   
   XPost: linux.debian.bugs.dist   
   From: u.kleine-koenig@baylibre.com   
      
   Control: notfound -1 5.10.0-36-amd64 . found -1 5.10.244-1   
      
   Hello,   
      
   5.10.0-36-amd64 is not a kernel version, I guess you meant 5.10.244-1   
   (i.e. the most recent bullseye kernel) and fixed the bug metadata   
   accordingly.   
      
   On Wed, Dec 10, 2025 at 07:28:32AM -0300, iprodha_gab wrote:   
   > Package: linux   
   > Version: 5.10.0-36-amd64   
   > Severity: important   
   > Tags: amd64 bullseye disk-performance ahci regression   
   >    
   > Problem:   
   > On AMD A320 chipset systems with AHCI SATA controller, the block I/O layer   
   > incorrectly displays multiple schedulers as active simultaneously:   
   > "[mq-deadline] [bfq] none". This causes severe system slowdown and desktop   
   > unresponsiveness during disk I/O operations.   
      
   This is strange.   
      
   > How to reproduce:   
   > 1. Boot Debian 11 (bullseye) on AMD A320 chipset motherboard (ASRock   
   > A320M-HDV)   
   > 2. Connect SATA HDD (TOSHIBA DT01ACA0 7200 RPM)   
   > 3. Check current scheduler: cat /sys/block/sda/queue/scheduler   
   > 4. Observe output: mq-deadline [bfq] none (note two active schedulers in   
   > brackets)   
      
   Huh, if you repeat the problem description, please make sure the stuff   
   is consistent.   
      
   > 5. Perform large file copy or disk-intensive operation   
   > 6. Desktop environment (MATE) becomes unresponsive, system stalls   
   >    
   > Diagnosis:   
   > - System: Debian GNU/Linux 11 (bullseye), Kernel: 5.10.0-36-amd64, x86_64   
   > - Motherboard: ASRock A320M-HDV (AMD Promontory A320 chipset)   
   > - Disk: TOSHIBA DT01ACA0 (HDD, rotational=1, 7200 RPM SATA)   
   > - Driver: ahci (multiple AHCI hosts detected: 9 instances)   
   > - Scheduler state: mq-deadline [bfq] none (bfq active but mq-deadline also   
   > shown as active)   
      
   Another repetition, so you reported a state that looks perfectly fine   
   twice :-D   
      
   > - Expected: Single scheduler in brackets indicating active one   
   > - Current bug: Two schedulers shown with brackets [mq-deadline] [bfq]   
   > - Physical system (not virtual machine)   
   >    
   > Workaround:   
   > Temporary fix:   
   > # echo "bfq" > /sys/block/sda/queue/scheduler   
   >    
   > Permanent fix via udev rule:   
   > ACTION=="add|change", SUBSYSTEM=="block", ATTR{queue/rotational}=="1",   
   > ATTR{queue/scheduler}="bfq"   
   >    
   > Expected behavior:   
   > According to kernel documentation and block layer design:   
   > 1. Only ONE scheduler should be active at a time   
   > 2. The active scheduler should be shown in brackets: [bfq]   
   > 3. Available schedulers should be listed after: [bfq] mq-deadline none   
   > 4. Current display "mq-dedeadline [bfq] none" is inconsistent   
   >    
   > Impact:   
   > - Severe desktop usability regression (MATE environment freezes during I/O)   
   > - System becomes unresponsive for tens of seconds during file operations   
   > - Affects user experience significantly on HDD-based systems   
   > - Problem appears to be in scheduler initialization/display logic   
   >    
   > Additional notes:   
   > - Problem persists across reboots   
   > - Not VM-related (bare metal installation)   
   > - Multiple AHCI hosts detected (9), may be related to initialization order   
   > - Manual scheduler selection works correctly once set   
   >    
   > Suggested fix locations:   
   > 1. block/elevator.c - scheduler selection/display logic   
   > 2. drivers/ata/libata-core.c - ATA device initialization   
   > 3. /lib/udev/rules.d/60-block-scheduler.rules - default scheduler assignment   
   >    
   > System info for reference:   
   > - Debian: 11 (bullseye)   
   > - Kernel: 5.10.0-36-amd64   
   > - Architecture: x86_64   
   > - Disk: TOSHIBA DT01ACA0 (rotational=1)   
   > - Driver: ahci (9 instances)   
   > - Desktop: MATE   
   > - Motherboard: ASRock A320M-HDV (AMD A320 chipset)   
      
   Can you please try if the problem also exists with newer kernels, e.g.   
   by updating your system to Debian 12 and then Debian 13. Alternatively   
   at least try a backports kernel.   
      
   Best regards   
   Uwe   
      
   -----BEGIN PGP SIGNATURE-----   
      
   iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmk5jn4ACgkQj4D7WH0S   
   /k5hzgf/TCW9LITf0ASnTo3BAQWgfEDeG5mc1wwzrV7pOXm13iyzOi1pN1MlOSI3   
   MTayWJmKRNBn01vjdMfhQGH6pPV+AZoVaH82b8kCi0mHbIyOjA6DOxtGZx1wKUX0   
   pP0WMEhXe/V0U661As3GLvHBZ1FFi/P2sqeVA52q4YzpdIQW5kFevIY4zRHDPnEl   
   I00/wftbQU6BGEHu432DJP8j3TPA5sizvHi8Zr1BXGqc0dRpbjKTyiAni7RYRxsH   
   ZxBYPDuuaJf3yOi+8mEs5d/CGJNh4K6wkWU1ZWS+usbov0SngtSIt8hi7d3QuwGd   
   Sph8sBRDE5xhbRkyPeYQuRJAxY7Abw==   
   =ouZ6   
   -----END PGP SIGNATURE-----   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca