Find Jobs
Hire Freelancers

Resolve an issue with slow IO speed within KVM guest

£30-45 GBP / hour

종료됨
게시됨 거의 4년 전

£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.
프로젝트 ID: 26325286

프로젝트 정보

5 제안서
원격근무 프로젝트
활동 중 4년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
5 이 프로젝트에 프리랜서들의 평균 입찰은 £37 GBP입니다./시간
사용자 아바타
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 40일에
5.0 (1 건의 리뷰)
1.8
1.8
사용자 아바타
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 40일에
0.0 (0 건의 리뷰)
0.0
0.0

고객에 대한 정보

국기 (UNITED KINGDOM)
Newcastle, United Kingdom
5.0
14
결제 수단 확인
9월 13, 2006부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.