2007 Google Summer of Code Summary

News posted by darkwyrm on Wed, 2007-09-19 22:31
2007 was our first year involved in the Google Summer of Code. Looking back on it, it is easy to say that it was a resounding success. We were able to handle 8 students. Work accomplished included a mostly-complete FireWire stack, major improvements in networking, and more. Click Read More for summaries of every student projects.

FireWire stack for Haiku

Student: JiSheng Zhang Mentor: Jérôme Duval

JiSheng spent his summer porting the FreeBSD Firewire stack to Haiku. Currently the bus module (OHCI + firewire core), the userland interface and a userland are ported. Receiving DV to a file works (command line only). Mass storage support (with SBP) is still in progress. The code is committed in our repository (see 00README.haiku for more information).

Network preflet for Haiku

Student: Andre Garzia Mentor: Stephan Aßmus

Andre has produced a first working version of the Network preflet with which each working interface can be configured. He currently continues to work on the preflet to implement more advanced features like support for different profiles. The code is committed in our repository (see here for more information).

Package (.pkg) File Installer

Student: Łukasz Zemczak Mentor: Ryan Leavengood

Łukasz continued the work mentor Ryan Leavengood had started to reverse engineer the pkg file format originally designed for the BeOS SoftwareValet system. Many existing BeOS applications are distributed in this format. Łukasz then implemented a parser for that format and a GUI based installation program. In addition he designed a package registration system which allows for later uninstallation of packages. He consulted with the Haiku Creative Design Team in designing the simple but elegant GUIs used for the installer and uninstaller. He also made use of the Haiku GUI layout API to make the interfaces properly font sensitive.

Precaching Algorythm in Haiku

Student: Krishna Kishore Annapureddy Mentor: François Revol

Krishna wrote code to do readahead on disk I/O. Code isn't yet ready for svn, but it showed some improvement on the latency of periodic read() calls by a factor of up to 3 from harddisk. Limited testing on CD-Roms showed improved playback experience.

USB isochronous streams

Student: Salvatore Benedetto (emitrax) Mentor: Oliver Ruiz Dorantes

Salvatore started his work on the isochronous transfers right after knowing his acceptation into GSoC, despite started involving within the comunity before. His work has involved all levels of the USB Haiku architecture: The UHCI controller, the USB bus manager. In the current USBKit has added support for the isochronous transfers and to set alternate settings. To complete the bridge also the usb_raw driver needed modifications. As test case, he implemented a simple application which communicates a webcam retrieving buffers. The project was successful although some code still needs to be committed to the tree.

Create a thread scheduler with CPU affinity

Student: André Braga Mentor: Axel Dörfler

André designed and implemented an O(1) scheduler for Haiku - the actual integration in the kernel is still missing, though. The scheduler so far delivers a perfectly fair distribution of the processor time to the running threads while respecting their different priority levels. CPU affinity is not yet completely outlined, but will follow the integration into the kernel which André will work on in the next weeks.

Network stack revamp: IPv6, ICMP, multicast, etc.

Student: Hugo Santos Mentor: Axel Dörfler

Hugo started working on our networking stack way before the GSoC officially started, and showed an enormous pace and high quality of the work he did. That obviously motivated him even more, and he started to work on things not directly related to networking (like his slab allocator implementation), but this also brought us an early stage of a FreeBSD network driver compatibility layer. Later on, he unfortunately couldn't keep up with his performance: he moved to another country, and did not have a working internet connection from home which prevented most further work. He still has some stuff pending and intends to continue working on the IPv6 implementation for our stack in the upcoming weeks.

Implement ICMP error handling and propagation

Student: Ivo Vachkov Mentor: Axel Dörfler

Unfortunately, Ivo could not spend as much time on the project as he originally intended; therefore, he didn't finish his assignment, and is our only student who did not receive our recommendation for his final payment. Ivo regrets his lack of time and fully supports our decision, though. He sent me what he did so far, and it seems to be a good start - I will try to work together with Hugo and integrate his work some time in the near future.

Congratulations to all involved and here's to next year!

Comments

Re: 2007 Google Summer of Code Summary

Excellent work on the update there DW. And I'd like to congratulate all the students for their hard work and the mentors for being that guiding light.

Here's to GSoC 2008 !

Re: 2007 Google Summer of Code Summary

Again great positive news from the Haiku front..!
Thank you to everybody involved.

Tanks

Thanks to all students for the fresh code !

Re: 2007 Google Summer of Code Summary

I also want to express my gratitude towards Google for this whole awesome program! With Google Summer of Code, our project has been introduced in depth to at least 8 talented young programmers. A lot of valuable code has been produced. Most students have expressed that they want to stay with our project and continue their work. This is great. I hope that it has been as much fun for the students as it has been for us mentors. Thanks to everyone involved and not the least to Google!

Re: 2007 Google Summer of Code Summary

Thank you, students (and Google). You did a wonderful job bringing Haiku one big step nearer to its first alpha release! I hope you all stick with this project and keep growing with it.

Re: 2007 Google Summer of Code Summary

Yes thank you Google, I'd much rather buy SW from you that MS. ;-)