Skip to content
Snippets Groups Projects
  • Stefano Garzarella's avatar
    1793ad02
    iothread: add aio-max-batch parameter · 1793ad02
    Stefano Garzarella authored
    
    The `aio-max-batch` parameter will be propagated to AIO engines
    and it will be used to control the maximum number of queued requests.
    
    When there are in queue a number of requests equal to `aio-max-batch`,
    the engine invokes the system call to forward the requests to the kernel.
    
    This parameter allows us to control the maximum batch size to reduce
    the latency that requests might accumulate while queued in the AIO
    engine queue.
    
    If `aio-max-batch` is equal to 0 (default value), the AIO engine will
    use its default maximum batch size value.
    
    Signed-off-by: default avatarStefano Garzarella <sgarzare@redhat.com>
    Message-id: 20210721094211.69853-3-sgarzare@redhat.com
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    1793ad02
    History
    iothread: add aio-max-batch parameter
    Stefano Garzarella authored
    
    The `aio-max-batch` parameter will be propagated to AIO engines
    and it will be used to control the maximum number of queued requests.
    
    When there are in queue a number of requests equal to `aio-max-batch`,
    the engine invokes the system call to forward the requests to the kernel.
    
    This parameter allows us to control the maximum batch size to reduce
    the latency that requests might accumulate while queued in the AIO
    engine queue.
    
    If `aio-max-batch` is equal to 0 (default value), the AIO engine will
    use its default maximum batch size value.
    
    Signed-off-by: default avatarStefano Garzarella <sgarzare@redhat.com>
    Message-id: 20210721094211.69853-3-sgarzare@redhat.com
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>