Proceedings of the 6Th International Workshop on Plan 9
Total Page:16
File Type:pdf, Size:1020Kb
Proceedings of the 6th International Workshop on Plan 9 October 20— 21, 2011 Universidad Rey Juan Carlos Fuenlabrada, Madrid, Spain Dennis Ritchie, in memoriam. Without his brilliant work, none of this would have been possible. He is still an inspiration to all of us. Organization Program Committee Francisco Ballesteros, Lsub, URJC Sape Mullender, Bell Labs (PC chair) Gorka Guardiola, Lsub, URJC Francisco Ballasteros, Lsub, URJC Sergio de Mingo, Lsub, URJC Brantley Coile, Coraid Inc. Erik Quanstrom, IWP9.org Charles Forsyth, Vita Nuova, Ltd. Enrique Soriano, Lsub, URJC Jeff Napper, Bell Labs Participants Francisco J. Ballesteros [email protected] Federico G. Benavento [email protected] Axel Belinfante [email protected] Nicolas Bercher [email protected] Ernesto A. Celis de la Fuente [email protected] Brantley Coile [email protected] David du Colombier [email protected] Andrés Domínguez [email protected] Vincent Douzal [email protected] Bruce Ellis [email protected] Brett Estrade [email protected] Noah Evans [email protected] Charles Forsyth [email protected] Jesús Galán López [email protected] Nick Gawronski [email protected] Gorka Guardiola [email protected] Pedro Hernandez Jr. [email protected] Latchesar Ionkov [email protected] Lucas [email protected] Stephen Jones [email protected] Eric Jul [email protected] Matt Lawless [email protected] Cinap Lenrek [email protected] Christoph Lohmann [email protected] Mathieu Lonjaret [email protected] Hugo Marcelo Rivera [email protected] Richard Miller [email protected] Sergio de Mingo Gil [email protected] Christian Mongeau [email protected] Sape Mullender [email protected] Jeff Napper [email protected] Erik Quanstrom [email protected] Jan Sacha [email protected] Nima Sahranshin Samani [email protected] Henning Schild [email protected] James Schneider [email protected] Brendon Schumacker [email protected] Frédéric Da Silva [email protected] Steve Simon [email protected] Enrique Soriano [email protected] Ataliba Teixeira [email protected] Roy Williams [email protected] Jeff Woodall [email protected] Foreword This book contains the proceedings for the Sixth International Workshop on Plan 9, IWP9. It was held on the 20th and 21st of October of 2011 at ETSIT, Rey Juan Carlos University. We, the organizing committee are proud of hosting this workshop again. Back in 2005 when we hosted the first one, we did not imagine it would continue for so long, getting to be the meeting point for the Plan 9 and Inferno communities. The workshop includes a tutorial by Sape Mullender on the important topic of performance evaluation. There is also a panel discussing news from new systems and ports, new sprouts coming out of Plan 9 an Inferno: nix, osprey and new ports of inferno. A lot of work has been going recently into these new systems and furthering the reach of the Plan 9 approach. This workshop was organized by the Systems Lab, a group in the Systems and Communications Group (GSYC, URJC), and Erik Quanstrom. It would have not been possible without the financial and logistical support1 from Rey Juan Carlos University and the Comunidad Autónoma de Madrid, which we would like to thank as well. We would like to thank Sape Mullender, Brantley Coile, Charles Forsyth, and Jeff Napper for being in the Program Committee. We also thank the original writers of Plan 9 and Inferno for their insight and the great job they did designing and programming this wonderful system and the community of people around the world who keep contributing to it. Proceeding updates and an online version of this book are available at the website http://iwp9.org. The Organizing Committee: Francisco J. Ballesteros Gorka Guardiola Sergio de Mingo Erik Quanstrom Enrique Soriano This workshop is supported in part by Spanish CAM grant S2009/TIC-1692 Table of Contents From natural hazards to the outer space and to Plan 9 ..................................... 1 Vincent Douzal, Nicolas Bercher, and David du Colombier Gostor: Storage beyond POSIX ........................................................................... 11 Latchesar Ionkov Revisiting User-Level Networking........................................................................ 17 Jan Sacha, Jeff Napper, Henning Schild, and Sape Mullender Acid your ARM ................................................................................................... 25 Gorka Guardiola Múzquiz FTP-like Streams for the 9P File Protocol ........................................................... 35 John Floren To Stream Or Not To Stream ............................................................................ 45 Jeffrey Sickel Appendix: Work in Progress ............................................................................. 59 A Bluetooth Protocol Stack for Plan 9 …………………………………………………... 61 Richard Miller A Plan 9 C Toolchain for the Altera Nios2 Processor …………………………………. 63 Richard Miller IX: A File Protocol for NIX …………………………………………………………………... 65 Francisco J. Ballesteros Dfs – A WebDav filesystem client ………………………………………………………… 71 Steve Simon Wsys(4): hosted window system ………………………………………………………….. 75 Jesús Galán López Tutorials, Panels, and Workshops • Tutorial: Measuring Performance. Sape Mullender. • Panel: News from new systems: osprey, inferno-ports, and nix. Sape Mullender, Charles Forsyth, Francisco Ballesteros • Workshop: Hellaphone. John Floren • Workshop: Jtag. Gorka Guardiola From natural hazards to outer space and to Plan 9 Vincent Douzal, Cemagref, UMR Tétis, Montpellier [email protected] Nicolas Bercher [email protected] David du Colombier [email protected] build date: 2011−10−13 22:30 ABSTRACT )" E"B%H'=JE%" IOIJA' B%H I?D%/=H/O M%H1 %" "=JKH=/ D=3=H@I ?=//I B%H JDA @AIEC" %B = ?%'FKJAH IOIJA' B%H JH="I'EIIE%" %B E"B%H'=JE%" %LAH LAHO /%"C FAHE%@I8 ="@ B%H JH=?A=>E/EJO: )" =>IJH=?J ="=/OIEI ID%MI JD=J JDAIA HAGKEHA< 'A"JI =HA @K=/ J% JDA BK"@='A"J=/ GKAIJE%" %B =IIEIJE"C JDA ?%C"EJELA =?JEL< EJO %B = KIAH KIE"C ANJAH"=/ 'A'%HEAI8 MDE?D HA=?DAI = LAHO CA"AH=/ I?%FA: 6DA I%/KJE%"I ID%K/@ >A E'F/A'A"JA@ =J JDA %FAH=JE"C IOIJA' /ALA/8 '=E"/O JDA BE/A IOIJA'8 ="@ 2/="@'ߣI BE/A IOIJA'I ="@ %JDAH FH%FAHJEAI '=1A EJ JDA I%K"@AIJ >=IA B%H%KHM%H1: 9A FHAIA"J %KHH%=@D'=FB%H@ALA/%F'A"J: 1. Introduction: the case of a computer system for scholarship on natural hazards 9A MAHA HAGKAIJA@ J% @AIEC" =" E"B%H'=JE%" IOIJA' IKFF%HJE"C I?D%/=H/O M%H1 %" "=JKH=/ D=3=H@I: 1J GKE?1/O =FFA=HA@ JD=J =// LEIE>/A8 '=E"IJHA=' IOIJA'I I%HA/O /=?1A@ I%'A ?%HA FH%FAHJEAI8 JDKI E"?KH=>/O @EIGK=/EBOE"C JDA'8 "%J=>/O E" JDAEH HA/=JE%" J% JE'A: 9A JDAHA< B%HA ?%"IE@AHA@ = '%HA BK"@='A"J=/ FH%>/A'F >KE/@E"C JDA "A?AII=HO B%K"@=JE%"I %B = IOI< JA' J% M%H1 %" "=JKH=/ D=3=H@I: -=H/O %"8 EJ >A?='A %>LE%KI JD=J '="O HAGKEHA'A"JI B%H JDA IOIJA' MAHA "%J IFA?EBE? J% JD=J BEA/@: -LA" I%8 ߢ"=JKH=/ D=3=H@Iߣ FH%LE@AI = C%%@ ?%"< ?HAJA AN='F/A J% CKE@A JDA @AIEC": .%H AN='F/A8 EJ "=JKH=//O E"L%/LAI ?A"JKHOD/%"C @KH=< JE%"I8 MDE?D D=I IEC"EBE?="J E'F/E?=JE%"I B%H JDA @AIEC": .KHJDAH'%HA8 >O JDAEH "=JKHA8 JDA "=JKH=/ ALA"JI JD=J ME// B%H' JDA @=J= HA?%H@I =HA K"FHA@E?J=>/A8 ="@ JDAEH "=JKHA %BJA" FHA< ?/K@AI '=1E"C FHA?EIA %>IAHL=JE%"I =J JDA JE'A: +HK?E=/ @=J= =HHELAI K"B%H'=JJA@ BH%' A"@="CAHA@ FAHI%"I: J=JAH8 DEIJ%HE="I ME// @A/LA E"J% =H?DELAI8 IEBJE"C ?A"JKHEAID%/@ BE/AI8 IAA1E"C J% HA?%"IJHK?J ALA"JI: 6D=J EI AN=?J/O JDA FH%?AII MA M="J J% =IIEIJ: 6DA ?%"JANJ %B JDA HA?%"IJHK?JE%" %H E"LAIJEC=JE%" '=JJAHI J%%: .%H AN='F/A8 EB JDA M%H1 EI ?%"JH=?JK=/ EJ 'ECDJ >A >H%KCDJ >AB%HA = KK@CA B%H =H>EJH=JE%"8 MDE?D M%K/@ FH%?AA@ >O HAJH=?E"C EJI I%KH?AIL IE'E/=H/O8 = I?EA"JEIJ %H I?D%/=H 'ECDJ "AA@ J% HAJH=?A =HCK'A"JI '=@A A=H/EAH >O %JDAHI8 ="@ ?DA?1 HAIK/JI: M" >AD=/B %B JDA A=H/EAH =KJD%H %B ="O ?%"?/KIE%"8 %"A ID%K/@ >A =>/A8 FH%L=>/O8 J% HALAHJ J% JDA AN=?J IJ=JA %B E"B%H'=JE%" DA D=@ HA?%H@A@ =J = CELA" @=JA8 ="@ FAHB%H' =C=E" JDA I='A FH%?AIIE"C IJAFI: 6DKI8 @=J= ?%//A?JA@ J%@=O 'ECDJ IJE// >A HAGKEHA@ E" = HA'%JA BKJKHA: .%H M%H1E"C %" "=JKH=/ D=3=H@I MA IAA = "AA@ J% @AIEC" =" E"B%H'=JE%" IOIJA' B%H JDA "ANJ # OA=HI 6D=J /A=@I KI J% JDA GKAIJE%"F MD=J EI E"L=HE="J %LAHIK?DJE'A I?=/AIQ 6DA ߢߢI?EA"?AI %B JH=?AIߣߣ ߞ DEIJ%HO8 =H?D=A%/%CO8 F=/A%"J%/%CO8 CA%/%CO8 ?%I'%/%CO %" ߢߢ'A'%HEAI %B JDA M%H/@ =>%KJ EJIA/Bߣߣ8 JDA "%M B=IDE%"=>/A B%HA"IE? 'A@E?E"A ߞ =// ID=HA JDA AIIA"JE=/ IJHK?JKHA %B = F%/E?A E"LAIJEC=JE%": 6DEI DE"JI JD=J8 MDA" JDE"1E"C %" I?=/AI %B ?A"JKHEAI8 ="O @AIEC" ME// >A J%J=//O K"IFA?EBE? J% ="O F=HJE?K/=H =FF/E?=JE%" @%'=E": 6H=?A< =>E/EJO EI JDA 1AO A/A'A"J J% HAFH%@K?E>E/EJO E" I?EA"?A: JAJ KI AIJ=>/EID JD=J JM% GKAIJE%"I 1 =HA @K=/ E" JDA '=JDA'=JE?=/ IA"IA JDAO =HA JM% IE@AI %B JDA I='A ?%E"F : 6DA LAHO /%"CDJAH' JH="I'EIIE%" %B 1"%M/A@CA AIJ=>/EIDA@ %" @ECEJ=/ 'A'%HEAI: : 6DA =>I%/KJA/O 'E"E'=/ BK"?JE%"=/EJEAI = ?%'FKJAH ID%K/@ BK"@='A"J=//O FH%LE@A B%H IKIJ=E"E"C8 =IIEIJE"C = KIAHE"DEI?%C"EJELA =?JELEJO: )// JDA KIK=/ =IIK'FJE%"I B%H @AIEC"E"C =" E"B%H'=JE%" IOIJA' =HA IMAFJ =IE@A >O @KH=< JE%": 5F=?A ?%%H@E"=JAI =HA J=1A" =I =" E"L=HE="J E"@AN E" CA%CH=FDE?=/ E"B%H'=JE%" IOI< JA'I8 >KJ IF=?A IDHE"1I %H ANF="@I @KHE"C IAEI'E? ALA"JI: +%"JE"A"JI @HEBJ: +%"?AFJI AL%/LA: J="CK=CAI ?D="CA: W% =FF/E?=JE%" ߢߢ%"J%/%COߣߣ ?%K/@ >A ANFA?JA@ J% /=IJ8 %"/O LAHO =>IJH=?J ?%"?AFJI: M"A ?=""%J A"LEI=CA = @=J= '%@A/ E" JDA KIK=/ IA"IA B%H = LAHO /%"CD JAH' HAF%IEJ%HO: 0A"?A = LAHO /%"CDJAH' @=J=>=IA ID%K/@ >A ?%'F/AJA/O =C"%IJE? J% JDA 1E"@%B @=J= EJ ME// IJ%HA8="@D=LA "%@=J= '%@A/ =J =//: 2.