-
Notifications
You must be signed in to change notification settings - Fork 530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cyclictest benchmark UOS geting high #4258
Comments
Hi @paspndevops , can you let us know how you have configured your system (ACRN version, scenario used, etc.)? Specifically, are you using an RTVM to run the UOS and have you performed any specific configuration to leverage CAT (if available on your platform). |
Hi gvancuts, -scenario - SDC2 -SOS kernel is 4.19.78-98.iot-lts-lts2018-sos Q1. Shell i get good result if i install preempt-rt SOS kernel ? How Thanks ! |
[External_System_ID] ACRN-5861 |
@paspndevops Please share your UOS launch script. |
@fuzhongl |
@paspndevops
2)You are using virtio_blk for UOS Image; We prefer passthrough SSD to UOS for RTVM So, the UOS latency will be highfor your case. |
Hi , mem_size=1048M acrn-dm -A -m $mem_size -s 0:0,hostbridge Thanks ! |
@paspndevops Which platform are you using? |
intel-desktop Thanks! |
000399 000000 Total: 002999974Min Latencies: 00002Avg Latencies: 00006Max Latencies: 01737Histogram Overflows: 00003Histogram Overflow at cycle number:Thread 0: 562117 847108 2877099cyclictest -mn -Sp90 -i200 -h400 -D10m |
@paspndevops Please follow the link to set BIOS: chapter Recommended BIOS settings |
@fuzhongl 2)You are using virtio_blk for UOS Image; We prefer passthrough SSD to UOS for RTVM Thanks! |
@paspndevops |
00:00.0 Host bridge [0600]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series Host Bridge [8086:5af0] (rev 0b) Thanks! |
@paspndevops Nor sure which SSD you installed SOS rootfs in, if you install SOS rootfs in SATA SSD;then you can install UOS in NVMe SSD and passthrough it to UOS; please refer this link: -s 2,passthru,3c/0/0 \ |
Thanks for your continues support i tried with below changes and capturing bench marking for 12hrs getting latency more then 1000: Could you please suggest me on Kernel modification if any /usr/bin/acrn-dm -A -m $mem_size -s 0:0,hostbridge Thanks ! |
@paspndevops After you copy everything to RTVM, could you please remove following(marked by bold) in script? |
@fuzhongl acrn-dm -A -m $mem_size -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio
|
@paspndevops Do you mean the latency of RTVM is larger than normal VM? It is unfair RTVM 12hrs Vs normal VM 30 Minutes |
@fuzhongl , is it appropriate to use the SDC2 scenario in this case? That User VM UUID ( |
@gvancuts Checked with ACRN ARCH, GUEST_FLAG_HIGHEST_SEVERITY should not be set for SDC2 scenario. The industrial scenario is preferred for RTVM. |
@fuzhongl Also tried with both SDC2 and Industrial scenarios .. Thanks! |
@paspndevops Please share your UOS launch script for both Guest VM. |
Laun_UOS.txt (UOS 1) [root@localhost ~]# cyclictest T: 0 ( 697) P: 0 I:1000 C: 2037 Min: 7 Act: 10 Avg: 9 Max: 235 nvme.txt (UOS 2) root@clr-preempt-rt ~/rt-tests # cyclictest T: 0 (17646) P: 0 I:1000 C: 7442 Min: 4 Act: 5 Avg: 5 Max: 9 Thanks! |
Two launcher scripts are attached as link on above thread(Laun_UOS.txt, nvme.txt) Thanks ! |
@paspndevops The only difference is virtio_blk Vs NVMe SSD passthrough, correct? |
created new thread UOS CPU Latency Fedora Server 30-rt9 |
Hi,
Could you please guide me to get better cpu latency result on UOS here i attached 12hrs latency with stress for your reference.
SOS Kernel : 4.19.78-98.iot-lts-lts2018-sos
UOS Kernel : 4.15.0-72-lowlatency
For regular kernel i am getting latency from 100 to 200 but with UOS i am getting more then 5000.
Thank!
The text was updated successfully, but these errors were encountered: