Sunteți pe pagina 1din 3

25/3/2015

RaspberryPiFAQKodi

Mainpage:RaspberryPi#Maximizing
performance
UsealightweightskinsuchasthedefaultConfluence,
Amber,Quartz,Bellow,orxTVSAF.
TurnoffRSSfeedsandanyscrollingtextoptionsforyour
skin.
UseanSDcardwithgoodrewritespeeds.Theclassofthe
SDcarddoesn'talwaysmeanitwillbefaster,asthatspeed
listingisforsustainedreadingandwriting.ForXBMC/Kodi
randomread/writespeedsaremoreimportant.Theclass4/6
SamsungSDcardssoldontheRaspberryPi
Store (theoneswithNOOBSonthem)typicallyhave
muchbetterperformancethanmostclass10cards.For
moreinformationaboutSDcardspeeds,checkoutthis
excellentthreadontheRPi
forum:http://www.raspberrypi.org/forums/viewtopic.php?
p=53159
YoucanalsotrytouseacombinationofSDandfastUSB
driveforyourXBMC/Kodiinstall,butrecentimprovementsto
thesoftwaremakeitsothatevenjustusingagoodSDcard
isaboutasfastasusingafastUSBdrive.
Avoidusingwifi.Ifyoudousewifi,useawifiadapterthat
containstwoantenna(eitherinternallyorexternally).
Otherwise,sticktowiredethernet,localUSBdrives,or
ethernetoverpowerdevices(likeHomeplug,etc).
Ifyouareusingwifianditseemsjustontheedgeofbeing
fastenough,checkoutHOWTO:Modifythevideocache.
TryusingNFSfilesharesinsteadofSMBfileshares.
TrymountingnetworksharesthroughOSratherthanKodi.
Thisallowsmoretweakingoffilesystemoptions,likechosing
UDPandlargerblocksizes.SeeThisraspbmcthreadfor
details
Overclock.MostPi'scanhandleasignificantoverclock,as
longastheyhaveagoodpowersupply.Thereisnouniversal
settingthatwillworkforeveryone(exceptforthedefault
speedthatyougetwithoutoverclocking).Tryvarious
overclockingsettingsandrunXBMC/Kodiforawhileandsee
ifit'sstable.Ifonegroupofoverclockingsettingscauses
crashes,tryagroupofsettingsthatarelowerthanthat.For
moreinformationaboutthischeckoutthisforum
thread:http://forum.xbmc.org/showthread.php?
tid=199272
"Extractthumbnailandvideoinformation"fromfilelists
settingsisdisabledbydefaultonthePiasitimproves
browsingperformance.
Forsmoothervideoplaybackenable"Adjustdisplayrefresh
ratetomatchvideo"fromplaybacksettings
Whenusingdvdplayer"Syncplaybacktodisplay"and"adjust
data:text/htmlcharset=utf8,%3Ctable%20style%3D%22fontsize%3A%2012.8000001907349px%3B%20color%3A%20rgb(0%2C%200%2C%200)%3B%

1/3

25/3/2015

RaspberryPiFAQKodi

PLL"forsyncmethodarerecommended.Seeplayback
settings
MakesurethevideoisusingH.264(uptoHighProfile.
Hi10Pwillnotwork)orMPEG4,or,ifacodecwas
purchasedandenabled,MPEG2orVC1.
PassthroughisrecommendedasitlowersCPUusagefor
DTSandAC3.UseaudiopassthroughifyourTV/receiver
supportsit.
TodeterminewhichaudiopassthroughformatsyourHDMI
connectedTVsupports,youcanlogintoyourchosen
distribution,viaSSH,andrunthis
command:/opt/vc/bin/tvservicea(on
OpenELEC:tvservicea).
Feelingadventurous?CheckoutthelatestOpenELECtest
builds,whichoftenhaveevenmorespeedimprovements.
Justrememberthatthesebuildscanoftenbe
unstable:http://forum.xbmc.org/showthread.php?
tid=192380
Someadditionaladvancedtipsforspeedingupboottimes.
Editornote: Someofthiscanlikelybebrokenupinto

individualbulletpointsforthislist,butIhaven'texamined
anyofthisindetailyet.I'mnotsurewhichonesonly
improveboottimeandwhichonesimproveactual
performanceoncealreadybooted.Ifanyonewantstotake
awhackatthis,pleasedo.
http://forum.xbmc.org/showthread.php?tid=201354
Forlocallyconnecteddrivescontainingvideosandmusic,the
formatofthedrivecanhaveanimpactonreadandwrite
speeds.Forexample,NTFStendstobemuchsloweronany
LinuxbasedsystemthanthemorenativeEXOFSformats
(ext2,ext3,etc).
IfyouuseMySQLthenyouwillwanttomakesureyour
imagesareprecachedusingtheTextureCache
Maintenanceutilitytool.Locallibrariestypicallydon'tneed
thisastheirimagesarecachedwhenvideosarescannedin.
UsingMySQLcanimproveperformanceasthedatabase
queriesarehandledbyanothermachine.
Organizingyourmoviesinsinglefoldersforeachmovie,
ratherthanallmoviesinonefolder,isrecommended.The
individualfoldersreducethetimeittakesforXBMC/Kodito
lookforsupportingmedialikeexternalsubtitles,making
browsing,scanningandstartingplaybackalittlefaster.You
mightalsowanttoconsiderprescrapingthemetadatausing
aLibrarymanagertoreducethetimeittakestoscanin
bothmoviesandTVshows.

2.6Memoryusage(especiallywith256M
Pi)

Link

data:text/htmlcharset=utf8,%3Ctable%20style%3D%22fontsize%3A%2012.8000001907349px%3B%20color%3A%20rgb(0%2C%200%2C%200)%3B%

2/3

25/3/2015

RaspberryPiFAQKodi

gpu_memshouldbesetto128M.Ona256MPiitis
recommendedtosetitto112M.Ona512MPiitmaybe
worthincreasingthisifyouarerunningheavyskinsorifyou
wanttoincreasethedefaultfanartresolutionorcolourdepth.
256Mshouldbemorethanenough.
A256MPiisquiteshortonmemory.Becarefulwithrunning
otherappsinthebackground(e.g.torrents)orinstallingadd
onsthatconsumememory.
Thedefaultcachemembuffersizewillbe2Mfora256MPi,
and20Mfora512MPi.Youcanuse0tocachetosdcard.
Reducingthe"GUIresolutionlimit"(e.g.to720p)in
settings/system/videowillsavememory.Thisisadefaulton
a256MPi.Videowillstillplayatfullresolution(e.g.1080p).
Enabling"highercolourdepthartwork"willusemore
memory.Itshouldbedisabledon256MPi.
Reducingimageres/fanartreswillreducememoryusage.

data:text/htmlcharset=utf8,%3Ctable%20style%3D%22fontsize%3A%2012.8000001907349px%3B%20color%3A%20rgb(0%2C%200%2C%200)%3B%

3/3

S-ar putea să vă placă și