Bheve: Slow linux syscalls on AMD

Willem Jan Withagen wjw at digiware.nl
Tue Jun 10 14:55:06 UTC 2014


On 2014-06-10 15:59, Peter Grehan wrote:
> Hi Willem,
>
>> On 2014-06-09 23:04, Peter Grehan wrote:
>>>> Still seeing that a 2 CPU VM is using about 100% of 1 cpu when idleing,
>>>> but that is another minor challenge.
>>>
>>>   Fixed in r267305
>>
>> Ack.
>>
>> There is still a small difference in behaviour between Linux and
>> FreeBSD. But I'd call that negectable...
>>
>>
>> PID    SIZE STATE   C   TIME    WCPU COMMAND
>> 70250 2075M vmidle  5   0:17   2.69% bhyve: ubuntu-14.04 (bhyve){vcpu 1}
>> 70250 2075M vmidle  2   0:22   1.37% bhyve: ubuntu-14.04 (bhyve){vcpu 0}
>
>   Thanks - saw similar behaviour on my tiny Sempron but wasn't sure if
> it was the slow CPU/clock aliasing etc. Time to bring out KTR and see
> what's going on.

I've got KTR compiled in, but last time I switched it on.
I got swamped in traffic, and I sort of got locked out of the server... :(
Could also be because I was writing it to a file as well.

So you'll have to help/tell me what to do.

--WjW




More information about the freebsd-virtualization mailing list