* [gentoo-server] Windows NT4 on KVM+QEMU extremely slow...
@ 2013-04-17 19:34 Vinícius Ferrão
2013-04-17 20:40 ` Robert Bridge
2013-04-17 20:54 ` Hinnerk van Bruinehsen
0 siblings, 2 replies; 7+ messages in thread
From: Vinícius Ferrão @ 2013-04-17 19:34 UTC (permalink / raw
To: <gentoo-server@lists.gentoo.org>
[-- Attachment #1.1: Type: text/plain, Size: 730 bytes --]
Hello dudes,
I'm running Windows NT 4 Terminal Server on QEMU and the performance is too slow; I don't even know how to debug it and I even don't if this is normal or not.
On VMWare Player the performance was much better. And this isn't a migration. I've reinstalled the NT4 from the ground.
Anyway; i'm launching the VM with this arguments:
kvm -m 128m -name WinNT4TS -drive file=winnt4ts.raw -cdrom Windows\ NT\ 4\ Terminal\ Server\ Image/WINNT-TSE40.iso -net nic,model=ne2k_pci,macaddr=00:0c:29:74:fa:b4 -net tap -vga std -cpu pentium,level=1 -smp 1 -no-acpi -no-hpet -no-kvm -boot c -vnc none -daemonize
Thanks in advance,
Vinícius Ferrão: Administrador de Sistemas
www.ferrao.eti.br | +55 (21) 8888-2619
[-- Attachment #1.2: Type: text/html, Size: 1483 bytes --]
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2354 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-server] Windows NT4 on KVM+QEMU extremely slow...
2013-04-17 19:34 [gentoo-server] Windows NT4 on KVM+QEMU extremely slow Vinícius Ferrão
@ 2013-04-17 20:40 ` Robert Bridge
2013-04-17 20:54 ` Hinnerk van Bruinehsen
1 sibling, 0 replies; 7+ messages in thread
From: Robert Bridge @ 2013-04-17 20:40 UTC (permalink / raw
To: gentoo-server
Hi Vinícius,
The first thing that springs to mind to check is have you got hardware
virtualisation enabled? I notice your launch command includes -no-kvm
as an argument - doesn't that disable kvm and result in a fallback to
qemu? Try running with kvm enabled and I suspect your performance will
be approximately 10x better.
Just a couple of thoughts,
RobbieAB
On 17 April 2013 20:34, Vinícius Ferrão <viniciusferrao@if.ufrj.br> wrote:
> Hello dudes,
>
> I'm running Windows NT 4 Terminal Server on QEMU and the performance is too
> slow; I don't even know how to debug it and I even don't if this is normal
> or not.
>
> On VMWare Player the performance was much better. And this isn't a
> migration. I've reinstalled the NT4 from the ground.
>
> Anyway; i'm launching the VM with this arguments:
> kvm -m 128m -name WinNT4TS -drive file=winnt4ts.raw -cdrom Windows\ NT\ 4\
> Terminal\ Server\ Image/WINNT-TSE40.iso -net
> nic,model=ne2k_pci,macaddr=00:0c:29:74:fa:b4 -net tap -vga std -cpu
> pentium,level=1 -smp 1 -no-acpi -no-hpet -no-kvm -boot c -vnc none
> -daemonize
>
> Thanks in advance,
>
> Vinícius Ferrão: Administrador de Sistemas
> www.ferrao.eti.br | +55 (21) 8888-2619
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-server] Windows NT4 on KVM+QEMU extremely slow...
2013-04-17 19:34 [gentoo-server] Windows NT4 on KVM+QEMU extremely slow Vinícius Ferrão
2013-04-17 20:40 ` Robert Bridge
@ 2013-04-17 20:54 ` Hinnerk van Bruinehsen
2013-04-18 0:35 ` Vinícius Ferrão
1 sibling, 1 reply; 7+ messages in thread
From: Hinnerk van Bruinehsen @ 2013-04-17 20:54 UTC (permalink / raw
To: gentoo-server
[-- Attachment #1: Type: text/plain, Size: 968 bytes --]
On Wed, Apr 17, 2013 at 07:34:00PM +0000, Vinícius Ferrão wrote:
> Hello dudes,
>
> I'm running Windows NT 4 Terminal Server on QEMU and the performance is too slow; I don't even know how to debug it and I even don't if this is normal or not.
>
> On VMWare Player the performance was much better. And this isn't a migration. I've reinstalled the NT4 from the ground.
>
> Anyway; i'm launching the VM with this arguments:
> kvm -m 128m -name WinNT4TS -drive file=winnt4ts.raw -cdrom Windows\ NT\ 4\ Terminal\ Server\ Image/WINNT-TSE40.iso -net nic,model=ne2k_pci,macaddr=00:0c:29:74:fa:b4 -net tap -vga std -cpu pentium,level=1 -smp 1 -no-acpi -no-hpet -no-kvm -boot c -vnc none -daemonize
Hi,
iirc the commandline switch --no-kvm disables kvm (so it'S just software
emulated qemu). You disable hardware virtualization accerleration with
it.
Other than that: more than 128 MB ram will most likely also help to
speed things up.
WKR
Hinnerk
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-server] Windows NT4 on KVM+QEMU extremely slow...
2013-04-17 20:54 ` Hinnerk van Bruinehsen
@ 2013-04-18 0:35 ` Vinícius Ferrão
2013-04-18 14:29 ` Robert Bridge
0 siblings, 1 reply; 7+ messages in thread
From: Vinícius Ferrão @ 2013-04-18 0:35 UTC (permalink / raw
To: gentoo-server@lists.gentoo.org
[-- Attachment #1.1: Type: text/plain, Size: 1670 bytes --]
Hello dudes,
Thanks for the replies.
But I've read somewhere that -no-kvm should be enabled in order to run NT4 Properly.
Anyway, I removed the flag and nothing really happened. It's still slow. It's usable, but slow. VMWare was much faster.
And about the RAM issue. It's Windows NT4. I don't think more is necessary. The machine boots consuming only 30MB. And about the slowness of the system is during CPU intensive operations.
Anything else to try dudes?
Thanks,
Vinícius Ferrão: Administrador de Sistemas
www.ferrao.eti.br | +55 (21) 8888-2619
On Apr 17, 2013, at 5:54 PM, Hinnerk van Bruinehsen <h.v.bruinehsen@fu-berlin.de>
wrote:
> On Wed, Apr 17, 2013 at 07:34:00PM +0000, Vinícius Ferrão wrote:
>> Hello dudes,
>>
>> I'm running Windows NT 4 Terminal Server on QEMU and the performance is too slow; I don't even know how to debug it and I even don't if this is normal or not.
>>
>> On VMWare Player the performance was much better. And this isn't a migration. I've reinstalled the NT4 from the ground.
>>
>> Anyway; i'm launching the VM with this arguments:
>> kvm -m 128m -name WinNT4TS -drive file=winnt4ts.raw -cdrom Windows\ NT\ 4\ Terminal\ Server\ Image/WINNT-TSE40.iso -net nic,model=ne2k_pci,macaddr=00:0c:29:74:fa:b4 -net tap -vga std -cpu pentium,level=1 -smp 1 -no-acpi -no-hpet -no-kvm -boot c -vnc none -daemonize
>
> Hi,
>
> iirc the commandline switch --no-kvm disables kvm (so it'S just software
> emulated qemu). You disable hardware virtualization accerleration with
> it.
>
> Other than that: more than 128 MB ram will most likely also help to
> speed things up.
>
> WKR
> Hinnerk
[-- Attachment #1.2: Type: text/html, Size: 2651 bytes --]
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2354 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-server] Windows NT4 on KVM+QEMU extremely slow...
2013-04-18 0:35 ` Vinícius Ferrão
@ 2013-04-18 14:29 ` Robert Bridge
2013-04-18 16:29 ` Vinícius Ferrão
0 siblings, 1 reply; 7+ messages in thread
From: Robert Bridge @ 2013-04-18 14:29 UTC (permalink / raw
To: gentoo-server
Hi,
Are you sure your hardware virt isn't disabled in the BIOS? It is, in
my experience, the one BIOS setting the linux kernel doesn't/can't
over-ride.
Cheers,
RobbieAB
On 18 April 2013 01:35, Vinícius Ferrão <viniciusferrao@if.ufrj.br> wrote:
> Hello dudes,
>
> Thanks for the replies.
>
> But I've read somewhere that -no-kvm should be enabled in order to run NT4
> Properly.
>
> Anyway, I removed the flag and nothing really happened. It's still slow.
> It's usable, but slow. VMWare was much faster.
>
> And about the RAM issue. It's Windows NT4. I don't think more is necessary.
> The machine boots consuming only 30MB. And about the slowness of the system
> is during CPU intensive operations.
>
> Anything else to try dudes?
>
> Thanks,
>
> Vinícius Ferrão: Administrador de Sistemas
> www.ferrao.eti.br | +55 (21) 8888-2619
>
> On Apr 17, 2013, at 5:54 PM, Hinnerk van Bruinehsen
> <h.v.bruinehsen@fu-berlin.de>
> wrote:
>
> On Wed, Apr 17, 2013 at 07:34:00PM +0000, Vinícius Ferrão wrote:
>
> Hello dudes,
>
> I'm running Windows NT 4 Terminal Server on QEMU and the performance is too
> slow; I don't even know how to debug it and I even don't if this is normal
> or not.
>
> On VMWare Player the performance was much better. And this isn't a
> migration. I've reinstalled the NT4 from the ground.
>
> Anyway; i'm launching the VM with this arguments:
> kvm -m 128m -name WinNT4TS -drive file=winnt4ts.raw -cdrom Windows\ NT\ 4\
> Terminal\ Server\ Image/WINNT-TSE40.iso -net
> nic,model=ne2k_pci,macaddr=00:0c:29:74:fa:b4 -net tap -vga std -cpu
> pentium,level=1 -smp 1 -no-acpi -no-hpet -no-kvm -boot c -vnc none
> -daemonize
>
>
> Hi,
>
> iirc the commandline switch --no-kvm disables kvm (so it'S just software
> emulated qemu). You disable hardware virtualization accerleration with
> it.
>
> Other than that: more than 128 MB ram will most likely also help to
> speed things up.
>
> WKR
> Hinnerk
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-server] Windows NT4 on KVM+QEMU extremely slow...
2013-04-18 14:29 ` Robert Bridge
@ 2013-04-18 16:29 ` Vinícius Ferrão
2013-04-18 18:28 ` Preston Hagar
0 siblings, 1 reply; 7+ messages in thread
From: Vinícius Ferrão @ 2013-04-18 16:29 UTC (permalink / raw
To: <gentoo-server@lists.gentoo.org>
[-- Attachment #1.1: Type: text/plain, Size: 2410 bytes --]
KVM is enabled in BIOS too.
I doubled checked it. Disabled and even got a message saying the KVM is not available when Disabled in BIOS….
Thanks,
Vinícius Ferrão: Administrador de Sistemas
www.ferrao.eti.br | +55 (21) 8888-2619
On Apr 18, 2013, at 11:29 AM, Robert Bridge <robert@robbieab.com>
wrote:
> Hi,
>
> Are you sure your hardware virt isn't disabled in the BIOS? It is, in
> my experience, the one BIOS setting the linux kernel doesn't/can't
> over-ride.
>
> Cheers,
> RobbieAB
>
> On 18 April 2013 01:35, Vinícius Ferrão <viniciusferrao@if.ufrj.br> wrote:
>> Hello dudes,
>>
>> Thanks for the replies.
>>
>> But I've read somewhere that -no-kvm should be enabled in order to run NT4
>> Properly.
>>
>> Anyway, I removed the flag and nothing really happened. It's still slow.
>> It's usable, but slow. VMWare was much faster.
>>
>> And about the RAM issue. It's Windows NT4. I don't think more is necessary.
>> The machine boots consuming only 30MB. And about the slowness of the system
>> is during CPU intensive operations.
>>
>> Anything else to try dudes?
>>
>> Thanks,
>>
>> Vinícius Ferrão: Administrador de Sistemas
>> www.ferrao.eti.br | +55 (21) 8888-2619
>>
>> On Apr 17, 2013, at 5:54 PM, Hinnerk van Bruinehsen
>> <h.v.bruinehsen@fu-berlin.de>
>> wrote:
>>
>> On Wed, Apr 17, 2013 at 07:34:00PM +0000, Vinícius Ferrão wrote:
>>
>> Hello dudes,
>>
>> I'm running Windows NT 4 Terminal Server on QEMU and the performance is too
>> slow; I don't even know how to debug it and I even don't if this is normal
>> or not.
>>
>> On VMWare Player the performance was much better. And this isn't a
>> migration. I've reinstalled the NT4 from the ground.
>>
>> Anyway; i'm launching the VM with this arguments:
>> kvm -m 128m -name WinNT4TS -drive file=winnt4ts.raw -cdrom Windows\ NT\ 4\
>> Terminal\ Server\ Image/WINNT-TSE40.iso -net
>> nic,model=ne2k_pci,macaddr=00:0c:29:74:fa:b4 -net tap -vga std -cpu
>> pentium,level=1 -smp 1 -no-acpi -no-hpet -no-kvm -boot c -vnc none
>> -daemonize
>>
>>
>> Hi,
>>
>> iirc the commandline switch --no-kvm disables kvm (so it'S just software
>> emulated qemu). You disable hardware virtualization accerleration with
>> it.
>>
>> Other than that: more than 128 MB ram will most likely also help to
>> speed things up.
>>
>> WKR
>> Hinnerk
>>
>>
>
[-- Attachment #1.2: Type: text/html, Size: 3396 bytes --]
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2354 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-server] Windows NT4 on KVM+QEMU extremely slow...
2013-04-18 16:29 ` Vinícius Ferrão
@ 2013-04-18 18:28 ` Preston Hagar
0 siblings, 0 replies; 7+ messages in thread
From: Preston Hagar @ 2013-04-18 18:28 UTC (permalink / raw
To: gentoo-server
[-- Attachment #1: Type: text/plain, Size: 3967 bytes --]
On Thu, Apr 18, 2013 at 11:29 AM, Vinícius Ferrão <viniciusferrao@if.ufrj.br
> wrote:
> KVM is enabled in BIOS too.
>
> I doubled checked it. Disabled and even got a message saying the KVM is
> not available when Disabled in BIOS….
>
> Thanks,
>
> *Vinícius Ferrão*: Administrador de Sistemas
> www.ferrao.eti.br | +55 (21) 8888-2619
>
> On Apr 18, 2013, at 11:29 AM, Robert Bridge <robert@robbieab.com>
> wrote:
>
> Hi,
>
> Are you sure your hardware virt isn't disabled in the BIOS? It is, in
> my experience, the one BIOS setting the linux kernel doesn't/can't
> over-ride.
>
> Cheers,
> RobbieAB
>
> On 18 April 2013 01:35, Vinícius Ferrão <viniciusferrao@if.ufrj.br> wrote:
>
> Hello dudes,
>
> Thanks for the replies.
>
> But I've read somewhere that -no-kvm should be enabled in order to run NT4
> Properly.
>
> Anyway, I removed the flag and nothing really happened. It's still slow.
> It's usable, but slow. VMWare was much faster.
>
> And about the RAM issue. It's Windows NT4. I don't think more is necessary.
> The machine boots consuming only 30MB. And about the slowness of the system
> is during CPU intensive operations.
>
> Anything else to try dudes?
>
> Thanks,
>
> Vinícius Ferrão: Administrador de Sistemas
> www.ferrao.eti.br | +55 (21) 8888-2619
>
> On Apr 17, 2013, at 5:54 PM, Hinnerk van Bruinehsen
> <h.v.bruinehsen@fu-berlin.de>
> wrote:
>
> On Wed, Apr 17, 2013 at 07:34:00PM +0000, Vinícius Ferrão wrote:
>
> Hello dudes,
>
> I'm running Windows NT 4 Terminal Server on QEMU and the performance is too
> slow; I don't even know how to debug it and I even don't if this is normal
> or not.
>
> On VMWare Player the performance was much better. And this isn't a
> migration. I've reinstalled the NT4 from the ground.
>
> Anyway; i'm launching the VM with this arguments:
> kvm -m 128m -name WinNT4TS -drive file=winnt4ts.raw -cdrom Windows\ NT\ 4\
> Terminal\ Server\ Image/WINNT-TSE40.iso -net
> nic,model=ne2k_pci,macaddr=00:0c:29:74:fa:b4 -net tap -vga std -cpu
> pentium,level=1 -smp 1 -no-acpi -no-hpet -no-kvm -boot c -vnc none
> -daemonize
>
>
> Hi,
>
> iirc the commandline switch --no-kvm disables kvm (so it'S just software
> emulated qemu). You disable hardware virtualization accerleration with
> it.
>
> Other than that: more than 128 MB ram will most likely also help to
> speed things up.
>
> WKR
> Hinnerk
>
>
>
>
>
You might try setting cache=writeback. To do so, after the
file=winnt4ts.raw
make it
file=winnt4ts.raw,cache=writeback
It made a big difference for me with the MS Server 2003 I run with KVM.
For reference, here is the kvm command that is run for my Win server 2003
VM (I migrated it from VMWare to KVM and now get the same or slightly
better performance):
/usr/bin/kvm -S -M pc-1.0 -cpu qemu64,-svm -enable-kvm -m 2048 -smp
1,sockets=1,cores=1,threads=1 -name antitrust -uuid
564dbb65-75b3-74bd-7252-d9749ee2697d -nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/antitrust.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime
-no-shutdown -boot c -drive
file=/var/data/vm/kvm/antitrust.img,if=none,id=drive-virtio-disk0,format=raw,cache=writeback
-device
virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0
-drive
file=/var/data/vm/kvm/virtio-win-0.1-52.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev
tap,fd=18,id=hostnet0 -device
e1000,netdev=hostnet0,id=net0,mac=00:0c:29:e2:69:7d,bus=pci.0,addr=0x3
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charparallel0
-device isa-parallel,chardev=charparallel0,id=parallel0 -usb -device
usb-mouse,id=input0 -vnc 127.0.0.1:2 -vga vmware -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
[-- Attachment #2: Type: text/html, Size: 6049 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-04-18 18:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-17 19:34 [gentoo-server] Windows NT4 on KVM+QEMU extremely slow Vinícius Ferrão
2013-04-17 20:40 ` Robert Bridge
2013-04-17 20:54 ` Hinnerk van Bruinehsen
2013-04-18 0:35 ` Vinícius Ferrão
2013-04-18 14:29 ` Robert Bridge
2013-04-18 16:29 ` Vinícius Ferrão
2013-04-18 18:28 ` Preston Hagar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox