All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1686980] [NEW] qemu is very slow when adding 16, 384 virtio-scsi drives
@ 2017-04-28 10:14 Richard Jones
  2017-04-28 10:30 ` [Qemu-devel] [Bug 1686980] " Daniel Berrange
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Richard Jones @ 2017-04-28 10:14 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

qemu runs very slowly when adding many virtio-scsi drives.  I have
attached a small reproducer shell script which demonstrates this.

Using perf shows the following stack trace taking all the time:

    72.42%    71.15%  qemu-system-x86  qemu-system-x86_64       [.] drive_get
            |          
             --72.32%--drive_get
                       |          
                        --1.24%--__irqentry_text_start
                                  |          
                                   --1.22%--smp_apic_timer_interrupt
                                             |          
                                              --1.00%--local_apic_timer_interrupt
                                                        |          
                                                         --1.00%--hrtimer_interrupt
                                                                   |          
                                                                    --0.83%--__hrtimer_run_queues
                                                                              |          
                                                                               --0.64%--tick_sched_timer

    21.70%    21.34%  qemu-system-x86  qemu-system-x86_64       [.] blk_legacy_dinfo
            |
            ---blk_legacy_dinfo

     3.65%     3.59%  qemu-system-x86  qemu-system-x86_64       [.] blk_next
            |
            ---blk_next

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "drives.sh"
   https://bugs.launchpad.net/bugs/1686980/+attachment/4869097/+files/drives.sh

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1686980

Title:
  qemu is very slow when adding 16,384 virtio-scsi drives

Status in QEMU:
  New

Bug description:
  qemu runs very slowly when adding many virtio-scsi drives.  I have
  attached a small reproducer shell script which demonstrates this.

  Using perf shows the following stack trace taking all the time:

      72.42%    71.15%  qemu-system-x86  qemu-system-x86_64       [.] drive_get
              |          
               --72.32%--drive_get
                         |          
                          --1.24%--__irqentry_text_start
                                    |          
                                     --1.22%--smp_apic_timer_interrupt
                                               |          
                                                --1.00%--local_apic_timer_interrupt
                                                          |          
                                                           --1.00%--hrtimer_interrupt
                                                                     |          
                                                                      --0.83%--__hrtimer_run_queues
                                                                                |          
                                                                                 --0.64%--tick_sched_timer

      21.70%    21.34%  qemu-system-x86  qemu-system-x86_64       [.] blk_legacy_dinfo
              |
              ---blk_legacy_dinfo

       3.65%     3.59%  qemu-system-x86  qemu-system-x86_64       [.] blk_next
              |
              ---blk_next

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1686980/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-14  4:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-28 10:14 [Qemu-devel] [Bug 1686980] [NEW] qemu is very slow when adding 16, 384 virtio-scsi drives Richard Jones
2017-04-28 10:30 ` [Qemu-devel] [Bug 1686980] " Daniel Berrange
2017-04-28 10:53 ` Daniel Berrange
2017-04-28 14:08 ` Daniel Berrange
2020-05-14  5:56 ` Thomas Huth
2020-07-14  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.