fosdem 2017 trip report
TRANSCRIPT
FOSDEM2017overview
Ø Aneventorganizedbyvolunteerstopromotethewidespreaduseoffreeandopensourcesoftware
Ø Over600presentations fromvariousfieldso Myinterests
§ SDNandNFV§ LinuxContainersandMicroservices§ MicrokernelsandComponent-basedOS§ VirtualizationandIaaS
2
AcceleratingTCPwithTLDK(1)
Ø IntroductionofTLDK(TransportLayerDevelopmentKit
Ø TLDKbasedonDPDKenablesustowritehigh-speedTCP/UDPapplicationsmucheasier!
Ø TLDKprovidessocket-likeAPIso Applicationdriven,notdatarx/tx driven
Ø TLDKtargetspipelinednetworkprocessingo similartotheDPDKapproach
3
AcceleratingTCPwithTLDK(2)
Ø HighlyoptimizedforIntelprocessorso Cacheo Hugepageo Memorylocalization
Ø Performance(64-bytepackets)7.4Mpps - 1-core,1-queue36.4Mpps - 5-core,5-queue
4
Howtorunastablebenchmark (1)
Ø MotivationGettingunstableperformancescores makesitdifficulttoanalyzeaperformancebottleneck
Ø Tellsushowtoreducenoisyneighbors!!
5
Howtorunastablebenchmark(2)
Ø Whatyoushoulddoo Processisolation(byisolcpus andtaskset)
o Removingkernelcodeexecution(bynohz_full andrcu_nocbs)
6
Howtorunastablebenchmark(3)
Ø AlsoneedconsiderationoncacheandTLBso Datalocationcanbeeasilychangedduetoyourcodemodification!o InPython,PGO(ProfiledGuidedOptimization)mayhelptosolvethisissue->doprofile-basedhotpath detection,thenre-compilePythononthebasisoftheprofileinformationacquired
7
Howtorunastablebenchmark (4)
Ø Other pointstobeconsideredo Cacheseed->canaffectthenumbersofhashcollisions!!
o CPUfrequency->canbedynamicallychangedfromyouroperatingsystem
8