qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

virtio-blk: qemu crash after enabling iothreads


From: Thomas Barrett
Subject: virtio-blk: qemu crash after enabling iothreads
Date: Fri, 5 May 2023 14:43:11 -0700

Hi,

I am experiencing an issue where my qemu virtual machine crashes when:

“cat /proc/<pid>/maps | wc -l” is greater that “cat /proc/sys/vm/max_map_count”

By default, the max_map_count is 65536 on my system. I am not confident that raising this limit will resolve the issue as the number of memory mapped regions appears to slowly increase without bound. 

I have pinned this issue on virtio-block, because the number of mapped memory regions only seems to increase while doing heavy block I/O when IOThreads are enabled. I am using qemu 8.0. 

Does someone have insight on what is causing so many mapped memory regions, whether a maximum exists, and how the maximum scales with vCPUs, queue depth, queue count, and number of IOThreads

Thomas 


Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]