Opened 9 years ago

Last modified 5 years ago

#12304 new bug

[kernel] slow performance with no hardware virtualization

Reported by: diver Owned by: mmlr
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by diver)

Some commits made by mmlr in December 2011 resulted in poor performance when Haiku is run in virtual environment with disabled hardware virtualization.

We even provided custom images built with KDEBUG_LEVEL=0 for some CGI students, otherwise Haiku was simply too slow for them in VBox.

Quoting Michael from IRC:

If it was introduced with the allocation tracking commits then it'd be a side effect or bug introduced, as the main feature isn't enabled even in KDEBUG.

Instead of searching through the commits you could also disable the features one by one in the kernel_debug_config header and see which one is responsible.

They can generally all be individually turned on and off.

Change History (2)

comment:1 by diver, 9 years ago

Description: modified (diff)
Summary: [kernel] performance regression[kernel] slow performance with no hardware virtualization

comment:2 by waddlesplash, 5 years ago

A lot of this is actually on VirtualBox: ICI (inter-CPU interrupts) take literally thousands of times longer there than on VMware or QEMU/KVM. See comments in #14979: on VirtualBox, ICI latency is 3-10 *ms*, while on KVM/QEMU it's 6-10 *us*.

Note: See TracTickets for help on using tickets.