Find Jobs
Hire Freelancers

Resolve an issue with slow IO speed within KVM guest

£30-45 GBP / hour

Zamknięte
Opublikowano prawie 4 lata temu

£30-45 GBP / hour

On one of my KVM VPS hosts we have an issue where the read/write speeds on the host are much faster than the speeds achieved within the VM guest. I have set the IO policy to thread mode and the cache setting to write back, however the speed is still no where near that is achieved on the host. I'd like someone to take a look at the issue and resolve it, or at least provide an explanation for why this is and how it could be resolved. The host node is live with customers using the server, so it's a live environment so it's important that there are no interruptions or reboots to the network or server. The host is AMD EPYC CPU The guest and VM are both running CentOS 7. We use virtualizor panel to administer VMs. We have escalated this to them however they say that the node has other VMs on it so this is why the guest cannot achieve the speeds we expect (this is incorrect as shown below). Virtio drivers are enabled for the guest. The host drives are NVMe in softraid 1. There are 27 other VMs on this machine but there is no read/write bottleneck on the host and this is of course shown by the much higher read/write speeds outside of the VM versus inside the VM. This is an example of the iotop command: Total DISK READ : 78.66 K/s | Total DISK WRITE : 397.05 K/s Actual DISK READ: 78.66 K/s | Actual DISK WRITE: 338.99 K/s The VMs use qemu. Example of hdparm command on host: Timing cached reads: 15132 MB in 2.00 seconds = 7578.81 MB/sec Timing buffered disk reads: 7306 MB in 3.00 seconds = 2435.15 MB/sec Example of hdparm command on guest with IO/cache policy of threads/writeback: Timing cached reads: 12176 MB in 2.00 seconds = 6094.77 MB/sec Timing buffered disk reads: 810 MB in 3.04 seconds = 266.45 MB/sec Example of hdparm command on guest with IO/cache policy of native/none: Timing cached reads: 15952 MB in 2.00 seconds = 7987.81 MB/sec Timing buffered disk reads: 842 MB in 3.02 seconds = 279.21 MB/sec As you can see, there are very dramatic differences between the host read speed and the guest. I've tried it on both ubuntu guest and centos guest and both yeild the same result. One thing i did notice when doing some benchmarking is that the guests seem to indicate "VM-x/AMD-V : ❌ Disabled" - however when I have checked for the relevant kernel modules on the host and guest they seem to be enabled, so this is perhaps an issue with the benchmark script not interrpetting the settings correctly. Does this help identify any potential reason for the slow disk performance? It's also worth noting we have another VPS host which has an NVMe drive not in RAID and this performs exceptionally well in terms of IO performance. Therefore my logic is that the difference is something to do with a) softraid (but then how can it be fine on host but not on guest?), AMD CPU (doubtful?), virtualization not being fully enabled on the host. Please can you advise if you'd be able to review and resolve this.
Identyfikator projektu: 26325286

Informację o projekcie

5 ofert
Zdalny projekt
Aktywny 4 lata temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
5 freelancerzy składają oferty o średniej wysokości £37 GBP/godz. dla tej pracy
Awatar Użytkownika
Nice to meet you I am an Amazon Cloud Architect for the web infrastructure serving 90 million page impressions and 12 TB Internet traffic per month. The AWS services I use are EC2, ELB, MySQL RDS, VPC, CloudFront, ElastiCache, CloudWatch, CloudFormation, OpsWorks, ElasticBeanstalk, CodeDeploy, S3, SES, SQS and SNS. I have 20 years of Linux SysAdmin experience. I currently use Apache, Nginx, Ldirectord, MySQL, Perl, PHP, Memcached, Sphinx, Bind, Typo3, WordPress, Send-mail, Postfix, NFS, Samba, Snort, Vsftpd, aide, Nagios, Cacti, Puppet and a bunch of other traditional Linux software. I am good at computer-security,linux,network-administration,system-admin,web-security If you’re looking for a developer that’s truly an expert, driven by passion, not afraid to take on a challenge, and will be there with you every step of the way then look no further as I’m your guy.
£46 GBP w 40 dni
5,0 (1 opinia)
1,8
1,8
Awatar Użytkownika
I have a 2 experience on sysadmin, I know different concepts in virtualization, we have a alternative of virtual concept, we can handle the server based on host configuration.
£38 GBP w 40 dni
0,0 (0 opinii)
0,0
0,0

O kliencie

Flaga UNITED KINGDOM
Newcastle, United Kingdom
5,0
14
Zweryfikowana metoda płatności
Członek od wrz 13, 2006

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.