M
M
Michael2017-03-27 15:54:24
1C
Michael, 2017-03-27 15:54:24

How to optimally configure the system for maximum performance 1C on Windows Server on KVM?

There is such a configuration:
Ubuntu Server 16.04, Intel Core i5 6400, 16GB DDR4, 500 GB HDD it has a system, 2 HDD 1TB combined into RAID1.
Now 1C works in the file version on real hardware with Windows Server 2003, there are 7 file bases, the average size is about 2GB, about 5 active users go to the server via RDP. I want to transfer a 1C server to a virtual machine with Windows Server 2012 R2.
The following picture emerges in my head:
1) we put the Windows Server image into a file and store it on the system disk on which Ubuntu is installed. In the image because it is convenient to backup / copy / move.
2) An LVM volume is created on RAID1 and connected to Windows Server as a second hard drive. Database files are placed on the second hard drive.
I would like to hear your advice and in general can 1C work normally on a virtual machine? How would you advise to backup databases, from Windows, or from the host system?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2017-03-27
@TrueBers

Create disks through the virtio-blk device if you don't need scsi support, this is the fastest option. If needed, then create virtio-scsi. They can play around with the number of hardware queues through num_queues. Naturally, the appropriate paravirtualized drivers are installed in the guest.
Next, you can separate the IO thread from the workers by creating an object iothread. And even better, create them according to the number of processor threads, although the ubunta kernel does not yet know how to do them, in my opinion, modern kernels have this.
Further, when creating the disk device itself, it is better to enable direct cache cache.direct=on and native io via aio=native. So there will be a minimum overhead on the cache, higher reliability in the event of a failure, and the real speed is higher.
In this way, on Windows guests, only one and a half times lower IOPS's are obtained than in the native. On Linux, it's almost like a native, if you use forwarding through vhost.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question