FOSDEM 2017 Trip Report

9
FOSDEM2017 report 5-6th Feb. 2017 Takayuki Imada @ OCaml Labs / Hitachi Ltd. 1

Transcript of FOSDEM 2017 Trip Report

FOSDEM2017report5-6thFeb.2017

TakayukiImada @OCaml Labs/HitachiLtd.

1

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

Thanks!

Ø YoucancheckallthepresentationsinFOSDEM2017!!

9

https://fosdem.org/2017/schedule/events/

URLsfor videos