From: Guenter B. <bar...@we...> - 2003-04-15 17:34:05
|
hallo miguel, > > lately i have been experimenting a little with linux kernel tweaks and patches > > in an attempt to improve xine performance. so far, i have found two > > possible improvements: > > > > - set HZ to 1000 in > > > > /usr/src/linux/include/asm-i386/param.h > > > > i had the impression that this can greatly enhance playback smoothness > > > yes. i'm using HZ=1000 for more than a year now. at the time (oct 2001) > i posted a few results about it on xine-devel (as people were proposing > to use /dev/rtc). ...but unfortunately you didn't add it to xine's documentation - but that is fixed now :) > although i could measure a quite significative difference (exact time of > displayed frames), people i showed the movie couldn't really notice that > improvement. are you able to tell the difference just by watching both? i think i can see it, especially i large camera pans > > - apply the preemptive kernel patch - at least for me this greatly > > reduced latencies when trying to play back dvds and also seems to help > > with playback smoothnes > > > how exactly do you perceive the reduced latency? inserting a dvd and pressing selecting the dvd autoplay menu item :) with the patch playback starts after a few seconds (at most), without it it often takes minutes. > > has anyone else done any experiments in that direction? > > > yes! :) > http://cambuca.ldhs.cetuc.puc-rio.br/~miguel/multimedia_sim/ link is in the faq now. > now that vo drivers can receive completion events we just need to worry > about schedulability of video_out thread and the X server. never looked in that too much - is there anything i have to do on the frontend side here or does it happen automatically? what about xine's completion event - no longer needed? guenter -- What does "it" mean in the sentence "What time is it?"? |