-
Notifications
You must be signed in to change notification settings - Fork 11
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
CPU high io wait #110
Comments
Hi, I checked with perf and saw the following:
Seems like it accesses the intel card via vfs --> therfore it's listed as I/O. Can you do the same check with both vaapidevice and xineliboutput? I did the following to get the above graph:
I am not sure if this is really an issue or if it is just shows that vaapidevice accesses the gfx card via vfs call. |
If you're comparing vaapidevice to another implementation like xineliboutput, please, make sure that both of them have enabled exactly the same VA-API filters. Otherwise, you'll end up comparing apples to oranges. |
sure on vaapidevice the filters are off |
Hi, |
I can also confirm on older kernels 4.8 and also older ffmpeg,libav etc... the iowait is normal, but why is mpv and xineliboutput not also affected? |
Kernel 4.14.11 and newer may have Spectre / Meltdown Fixes enabled - maybe this is the game changer? |
I don't think so as mpv and xinelibout do not show a similar behavior |
all the thread locking around the ffmpeg api calls are probably not needed anymore as the newer libs have now his own mechanism for locking |
as I cannot reopen the closed one I did create a new issue
there is no disk io btw.
the vaapidevice did create high CPU io wait (the old softhddevice did the same)
when I use xinelibout the CPU io wait is very low as expected
vdr -P"xineliboutput --local=sxfe --video=vaapi --audio=alsa --remote=none" -Psatip
The text was updated successfully, but these errors were encountered: