pigfoot’s weblog

We should forget about small efficiencies — Donald Knuth

Archive for September, 2006

Bonjour de France!

Louvre Museum

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% [?]

  • 3 Comments
  • Filed under: Life, Talk
  • [FX/TB] Win32 Branch build

    Get Firefox!

    Mozilla Firefox 2.0 RC1 Branch builds (20060928)

    Sepecial Check-in

    Known Issues

    • N/A
    1. checkout finish: Thu Sep 28 02:20:09 PDT (UTC -0700) 2006
    2. All Chech-in, FX Chech-in from last build
    3. my vs7.1-BonEcho patch
    4. my tweaks profile patch
    5. Adobe Flash Player (9.0.16.0)
    6. Used branding artwork by JairoB
    7. UAO of zh_TW.Big5 Unicode Fix
    8. P0/P1/P2/P3 all build with VC7.1
    9. P0 build build with /GAL7 arch:SSE and mmoy’s SSE patches, for Athlon XP, and Duron 1.1 GHz+
    10. P1 build build with /GAL6 and mmoy’s MMX patches, for Generic CPU
    11. P2 build build with /GAL6 arch:SSE and mmoy’s SSE patches, for Pentium III ,Celeron 500+
    12. P3 build build with /GAL7 arch:SSE2 and mmoy’s SSE2 patches, for AMD Athlon 64, AMD Sempron, Pentium D, Pentium M, Pentium 4 and Celeron 1.7 GHz+

    Popularity: 15% [?]

  • 1 Comment
  • Filed under: Gecko, IT
  • 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% [?]

  • 0 Comments
  • Filed under: Develop, Kernel
  • Get Google!

    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% [?]

  • 0 Comments
  • Filed under: Google, IT
  • POSIX Asynchronous I/O

    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% [?]

  • 0 Comments
  • Filed under: Develop, Kernel
  • Another GPL win in Germany

    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% [?]

  • 0 Comments
  • Filed under: IT, Linux, Unix
  • [FX/TB] Win32 Branch build

    Get Firefox!

    Mozilla Firefox 2.0 RC1 Branch builds (20060926)

    Sepecial Check-in

    Known Issues

    • N/A
    1. checkout finish: Tue Sep 26 01:41:47 PDT (UTC -0700) 2006
    2. All Chech-in, FX Chech-in from last build
    3. my vs7.1-BonEcho patch
    4. my tweaks profile patch
    5. Adobe Flash Player (9.0.16.0)
    6. Used branding artwork by JairoB
    7. UAO of zh_TW.Big5 Unicode Fix
    8. P0/P1/P2/P3 all build with VC7.1
    9. P0 build build with /GAL7 arch:SSE and mmoy’s SSE patches, for Athlon XP, and Duron 1.1 GHz+
    10. P1 build build with /GAL6 and mmoy’s MMX patches, for Generic CPU
    11. P2 build build with /GAL6 arch:SSE and mmoy’s SSE patches, for Pentium III ,Celeron 500+
    12. P3 build build with /GAL7 arch:SSE2 and mmoy’s SSE2 patches, for AMD Athlon 64, AMD Sempron, Pentium D, Pentium M, Pentium 4 and Celeron 1.7 GHz+

    Popularity: 13% [?]

  • 1 Comment
  • Filed under: Gecko, IT