Re: [PATCH 4/5] KVM: Lazify fpu activation and deactivation

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

 



On 01/14/2010 04:34 PM, Lucas Meneghel Rodrigues wrote:
On Thu, 2010-01-14 at 15:11 +0200, Avi Kivity wrote:
Strangely, autotest only caught this on AMD and even it took a while.
Lucas, can you integrate something like the following into autotest,
so we exercise the preemption code harder?
All right Avi, just added it to our TODO list, thanks!

On second thoughts, this will cause a severe performance loss (which may also affect test results), due to cpu overcommit and excessive vcpu migrations.

How about, instead:

Launch a background process with nthreads == ncpus, bind each thread to a cpu, and execute a loop on each thread that sleeps for a random amount of time from 1 to 10 milliseconds. This will exercise the preemption code.

In addition, every second or so, offline and online a random cpu. This will cause tasks to be migrated and exercise the task migration code.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux