We should forget about small efficiencies — Donald Knuth
29 Sep

I’ll travel to Switzerland and Paris of France from 9/29 to 10/08.
Paris would have to be the most romantic city in the world. I think that it is worth for me to have a good Paris tours by night. Besides, it must be wonderful to take a walk around the Louvre Museum at night.
Bonjour de France!
Popularity: 21% [?]
28 Sep
Mozilla Firefox 2.0 RC1 Branch builds (20060928)
Sepecial Check-in
Known Issues
Popularity: 15% [?]
28 Sep
Zero copy between ISR, kernel and User, from LKML.
Q:
I would like to allow the transferring of data between ISR’s, kernel and user code, without requiring copying.
I envision allocating buffers in the kernel and then mapping them so that they appear at the same addresses to all code, and never being swapped out of memory.
Is this feasible for all supported Linux architectures and is there existing code that someone could point me towards?
A:
Your better off having application mmap a device, then transfer the data to there. Something like AF_PACKET.
Popularity: 29% [?]
28 Sep
Google Video Delivering Berkeley Courses, from InsideGoogle.
Google Video has struck a deal to provide videos of University of California at Berkeley courses and symposia, over 250 hours of video.
They’ve got their own page featuring their videos, divided up by course. Right there on the front page is a video of Google founder Sergey Brin talking to an Information Systems 141 class about, of course, search engines.
Popularity: 18% [?]
27 Sep
POSIX Asynchronous I/O, from OSNews.
Used judiciously, asynchronous I/O (short for AIO) can provide a significant speed benefit, says David Chisnall. Perhaps enough to help your program overcome the fact that modern processors can really zoom, while hard drives still drag.
Code using AIO on Linux must be linked with -lrt to provide support for the POSIX real-time extensions, which means it may not be the kernel I/O mechanism, especially Kernel AIO Support for Linux has not been merged into mainline kernel yet.
After studying rt extensions in glibc source, I find how do they implement posix AIO in glibc — a thread pool plus a request waiting queue. Besides, helper thread will be spawned to manage the request, hence it’s not so trivial.
There is something interesting when freeing allocated resources. You can see the function libc_freeres_fn() in aio_misc.c. This is also why it is unnecessary to implement “destroy” API.
Whereas, FreeBSD has AIO family system calls. I, however, have no experience with AIO in FreeBSD, but it seems AIO in FreeBSD has kernel support? If so, it would be more efficient than Linux until now?
Popularity: 29% [?]
27 Sep
Another GPL win in Germany, from LWN.
The gpl-violations.org project has announced that it has won a court case against D-Link in Germany.
On September 6, 2006 the district court issued its judgement, confirming the claims by gpl-violations.org, specifically its rights on the subject-matter source code, the violation of the GNU GPL by D-Link, the validity of the GPL under German law, and D-Link’s obligation to reimburse gpl-violations.org for legal expenses, test purchase and cost of re-engineering.
D-Link Germany GmbH, a subsidiary of D-Link Corporation, Taiwan R.O.C., distributed DSM-G600, a network attached storage (NAS) device which uses a Linux-based Operating System.
However, this distribution was incompliant with the GNU General Public License (GPL) which covers the Linux Kernel and many other software programs used in the product.
Popularity: 25% [?]
26 Sep
Mozilla Firefox 2.0 RC1 Branch builds (20060926)
Sepecial Check-in
Known Issues
Popularity: 13% [?]