Tuning for Database server guest
Posted: 24. Jan 2018, 19:50
Got VirtualBox 5.2.6 64 bit running on a reasonably powerful machine (8 core 64GB RAM, 512GB SSD AMD Ryzen)
Trying to move an old database server onto a guest VM (running Debian 9 64 bit with Sybase SQLAnywhere 10)
It seems that the host is reasonably fast on the disk side of things (about twice as fast as the old bare metal machine)
However, doing a database backup (which is all local, no network traffic) is going very slowly - about 15 times more slowly.
Looking at the processes involved, I get the feeling that VirtualBox is not giving as much CPU & memory to the db server/guest OS as it might. Not sure that memory is the issue - but it must be bound by something.
The guest is showing 75% CPU in "top", and I said that it could have 4 CPUs, with 100% execution cap and Enabled PAS/NX (whatever that is!). Also enabled is I/O APIC, but not EFI.
The host is showing around 100%-125% CPU.
Any advice for other settings? Should it make any difference if I say it's IDE/SATA/SCSI/SAS?
I believe guest additions are installed.
Any suggestions on how to tweak this?
Trying to move an old database server onto a guest VM (running Debian 9 64 bit with Sybase SQLAnywhere 10)
It seems that the host is reasonably fast on the disk side of things (about twice as fast as the old bare metal machine)
However, doing a database backup (which is all local, no network traffic) is going very slowly - about 15 times more slowly.
Looking at the processes involved, I get the feeling that VirtualBox is not giving as much CPU & memory to the db server/guest OS as it might. Not sure that memory is the issue - but it must be bound by something.
The guest is showing 75% CPU in "top", and I said that it could have 4 CPUs, with 100% execution cap and Enabled PAS/NX (whatever that is!). Also enabled is I/O APIC, but not EFI.
The host is showing around 100%-125% CPU.
Any advice for other settings? Should it make any difference if I say it's IDE/SATA/SCSI/SAS?
I believe guest additions are installed.
Any suggestions on how to tweak this?