2008-08-19

Issue 5/2008 of the German FreeX magazine has an article by Ulrich Habel titled "Festspeicher statt Festplatte" ("hard storage instead of hard disk"). It illustrates how to replace your EeePC's 1.8" harddisk with a CF-card adapter, and install NetBSD on it.

BTW, FreeX is always looking for (german language) authors, too!

AFS is a distributed filesystem which offers a client-server architecture, transparent data migration abilities, scalability, a single namespace, and integrated ancillary subsystems.


License: IBM Public License
Changes:
There are many changes on Windows. On NetBSD, broken sigwait() has been worked around to allow the fileserver to shut down correctly pre NetBSD 5.0. On all platforms, potential corruption of directories during salvage is avoided.

2008-08-18

The daemon for handing bluetooth PAN that was proposed last week is imported in NetBSD-current now, and will be part of the upcoming NetBSD 5.0 release. Ian Hibbert has also updated the Bluetooth chapter in the NetBSD Guide with examples of a PANU (Personal Area Networking User) client. Ian will also continue to work on NAP (Network Access Protocol) and/or GN (Group ad-hoc Network), but that's some work todo. If anyone wants to help Ian out, feel free to contact him - see his posting for more details on the basic setup.

NTFS-3G is a stable read/write NTFS driver. It is available for over 170 Linux distributions and the default read/write NTFS driver for most major ones. It has been ported to many other operating systems like FreeBSD, NetBSD, Solaris, Haiku, and Mac OS X, and to big-endian, 64-bit, and MMU-less computer architectures.


License: GNU General Public License (GPL)
Changes:
This release includes improvements and fixes for reliability, usability, and portability. New features are libtool-2 and Solaris support.

2008-08-16

After a few days of offline-experience, here's a short summary of what happens that I haven't seen mentioned widely:

  • NetBSD achieves permanent charity status: ``The Foundation has been a 501(c)(3) charity since 2004, but previously the status was given under an advanced ruling period, i.e. it was of limited time. The permanent charity status is also known as 170(b)(1)(A)(vi).

    Being a public charity is important to us, as it means that we are eligible to receive employer matching donations, as well as to enjoy the most beneficial tax treatment. ''

  • Metadata journaling support added to FFS: ``In case of a crash or unexpected power loss however, the journaled file system will not need a lengthy file system check at boot time, but instead the kernel will replay the log within seconds. This allows faster crash recovery, less overall downtime and higher availability.

    Converting an existing system to use the log feature is as easy as updating (both kernel and userland), making sure the kernel option WAPBL is selected (this is the default for GENERIC kernels now), adding a ?log? option to /etc/fstab and rebooting. Note that WAPBL is not compatible with soft-dependencies, so please ensure that you first remove the ?softdep? option if present. See the wapbl(4) manual page for more information. ''

    Kudos for this go to Wasabi Systems, Darrin B. Jewell, Simon Burge, Greg Oster, Antti Kantee, and Andrew Doran!

  • Uli 'rhaen' Habel wrote me that he wrote a blosxom plugin for gnats: ``During my work for pkgsrc I started to write articles for my blog and I referred to several PRs from the NetBSD gnats system. However I just wanted to type the PR in the form of e.g. NetBSD PR pkg/39230 and would like to have my blog software to link to the webpage automatically''.

    Blosxom is the blogging software that Uli and I use, and you can learn more about his GNATS plugin, and download it, here. (Apparently I didn't get to install this plugin yet, that's why you don't see a link on the above quoted text :-).

  • Stefan Schumacher wrote me that the german magazine Die Zeit has an article on operating systems showing screenshots of several operating systems, starting with C64 Basic V2, going over MS-DOS and Windows to more esoteric ones like Mac OS X, Solaris, and *cough* BSD. Check the screenshot of the latter one! ;)
  • Another one from Uli Habel: His (NetBSD|pkgsrc) blog is now syndicated on www.onetbsd.org.

  • Wilhelm Buehler hints me at EuroBSDcon 2008: ``EuroBSDCon is the european technical conference for people working on and with 4.4BSD based operating systems and related projects. EuroBSDCon 2008 will take place in Strasbourg, France 18-19 October 2008 at University of Strasbourg.''
  • There's an article by Warren Webb titled "Free software encircles embedded design" at Electronic Design, Strategy, News (EDN). The article starts by illustriating open source software as a natural (and cheap, or course) alternative to commercial systems, describes benefits of the development model and the wealth of applications and how they can be used in an embedded environment. It continues talking about licenses, tools, and alternatives to Linux, including NetBSD.
  • Those into funky gadgets may like the MoPods may be for you: ``As if a little charm pet wasn't reason enough for being, the MoPods are actually practical. When your mobile phone rings or receives a text within a metre of your MoPod then the little blighter will get in a tizz, spin round and round and a little light will flash wildly in reaction. The perfect visual warning if your phone is on silent or you are in a noisy bar.

    Whether hung on your bag, your clothes, your keys or your mobile, MoPods are a must-have, or as they say in Japan, a "hitsuyou".''

  • Back to our fine operating system: Ian Hibbert, who has written NetBSD's bluetooth stack, has worked on a PAN daemon for NetBSD. This allows to perform personal area networking in various ways:
    NAP
    Network Access Point is like an ethernet bridge
    GN
    Group ad-hoc Network is a NAP with no external network
    PANU
    Personal Area Networking User in both host (like GN but a single connection) and client (the device that connects to all the others) mode.
    All this will come in an upcoming NetBSD release (well, and FreeBSD too, it seems, as they like it :-) near you pretty soon, see Iain's mail to tech-net.
May the source be with you!

2008-08-15

Mathias Schler has an interesting blog posting about the difference of using journaling on file system performance. The test he did was extracting NetBSD 4.0 sources.

  • With plain FFS, the extract took 15:19 minutes
  • With journaling, it took 3:24 minutes.
A clear winner. (No numbers with soft dependencies, though, but they can be expected to be comparable to the journaling number).

Spam: I've got a bunch of german-language books that I'd like to get rid of. Novels, some comics/mangas, no computer-stuff. For more information, click here.

2008-08-13

I got some feedback about my fink blaming inside the blastwave article. Fink is a software project on Sourceforge (Link) which ported the debian apt mechanism to MacOS X in order to provide an easy way to install packages. Christoph Pfisterer was the main maintainer in 2001 who did alot of the porting work and who maintained alot of packages. When he stepped down many of the Fink packages became unmaintained for a certain period.
I just wanted to point out that pkgsrc is a well maintained framework by many users over 10 years now. If you need software for your computer, just give us a try. Hej, we even provide a security framework, proccess, etc. For all of you who wanted to look at the news that time:

Fink Maintainer Steps Down Due To GPL Infringment

2008-08-11

Blastwave is a project which builds Solaris comaptible pkgs out of GNU software for Solaris 8 - 11. I wasn't that sure about project structures, security and so on when I installed their packages. I looked for a better project and found NetBSD pkgsrc that time. We run NetBSD pkgsrc on Solaris 8/Solaris 9 and Linux at my company and we are quite happy with it - there is no need for such projects as blastwave. Hoever, there is something interesting - when a single person has founded a project and is in power of everything, this project is likely about to explode one day. Do you remember fink? The package manager for MacOS X? For every of my readers, I suggest to switch to NetBSD pkgsrc, for your freedom and your security and software needs. Maybe I should set up a small article how to get started on Solaris.

Links about the blastwave troubles

Some of you already asked for it, get the sources for the accu data collecting script here on this page. If you are just want to use it or if you would like to have a short look into the sourcecode, feel free to download it here.

Download accu-statistics

It only requires the installation of the rrdtool which is located at databases/rrdtool inside pkgsrc. The script has a damon mode, which is handy for once starting, never care about. You can use it in your crontab, too. Just make sure to run perldoc accu once you unpackaged the sources. The png image is just a sample image of a graph. Enjoy it!

2008-08-09

I own a small IBM Thinkpad X40 and I am quite happy with it, it's close to 4 yrs old now and the stamina of the accumulator failed over the time down to about 2.5 hours (from about 5-6 hours). This is still a fair time for mobile usage, however I decided to buy a new accu these days. It's about 179 Euro which is quite expensive.
This brought me in contact with charging times, mobile usage, design caps, etc and I wrote a small perl script which gathers some statistics and stores them inside a rrd database. On the graph below you can find a typical example of a charge proccess. Let me explain the graph a little bit. The script gets its data from the command envstat -r every five minutes. The data is stored in a rrd database. The design cap of the accu (blue area) shows what the total amount of power was when the accu was new. The green line shows the last full charge. This is the value for the last full charge when the accu showed 100% charge. So as you can see by this graph, this accu has lost almost about 50% of his capacity.



The red line shows the current charge, right now the charge proccess is still running, please note how long it takes for a full charge and how slow the proccess is when it climbs up to 100%.
Right now I won't post the script here, there is some cleanup work to be done, however I think I might finish it by tomorrow and I will post it here. There is still some documentation missing.
The script is monitoring my laptop for the next 3 years, I wonder what the new accu will look alike - what about the curves, etc.

2008-08-04

Well, just to give you some numbers and a quick idea how it will look like:

rhaen@arkanum.pkgbox.org:Soekris $ time -p perl -MDBI -e 'print "$DBI::VERSION\n"' 
1.601
real     1.56
user     1.38
sys      0.19
That's just 1.5 seconds for loading a Perl module to detect it's version. I thought the Soekris 4801 might be able to run a small blog with MovableType - but without a chance. It's perfect to run a small webserver which only serves static html pages but it's horrible slow if you decide to run dynamic cgis. However I haven't tested it with PHP but the results might be similar. In the next days I will work on a small workshop how to setup a blog on a Soekris running blogtools and such. Stay tuned :)
Oh, and all you need is NetBSD, that's nice, eh?

2008-07-31

A wish came true: NetBSD finally has a journaling file system. Simon Burge added support for WAPBL, Write Ahead Physical Block Logging file system journaling, to NetBSD-current’s main branch today.

The main purpose of a journaling file system is to avoid a time consuming file system checks after a power failure, system crash or similar problem. But it can also help to improve performance considerably depending on the design. As I was curious about WAPBL’s performance impact I ran my usual benchmark (extracting the NetBSD 4.0 source tar archives). And the result is very encouraging: FFS required 15:19 minutes to finish the benchmark without logging and only 3:24 minutes to finish it with logging. It seems that WAPBL provides similar speed improvements as soft dependencies and keeps your file system safe at the same time.

A big thank you to Wasabi Systems for donating the code and to Simon Burge and all the other developers for integrating WAPBL into NetBSD!

2008-07-25

The last time I tested software RAID 1 under NetBSD I wasn’t really satisfied with the performance. Especially file system operations were much slower than I expected. Resulting from that my current home server uses an Intel SRCS14L RAID Controller instead of software RAID.

I had considered also buying a new RAID controller for my future home server. Areca’s ARC-1210 looked like the best candidate. But the ARC-1210 is not exactly cheap (as expected) and unfortunately has a fan. As reducing the noise level was one of the main goals to buy new server hardware I was put off.

After some consideration I decided to give RAIDframe another try. Encouraged by David Brownlee’s benchmark results I ran a similar benchmark on my hardware. To do that I wrote a shell script which consecutively creates RAID 1 volumes and FFSv1 file systems with all the combinations of parameters listed in the table below. Each of the file systems is mounted (not using soft dependences) and benchmarked by extracting the tar archives with the NetBSD 4.0 sources to it. The time required to complete each of the benchmark runs is recorded afterwards. Below are the averages of the results of two runs of my test script, smaller time values imply better performance of course.

Block size / Fragment size 32 sectors per stripe unit 64 sectors per stripe unit 128 sectors per stripe unit
8KB / 1KB 285 seconds 253 seconds 239 seconds
8KB / 2KB 299 seconds 263 seconds 246 seconds
8KB / 4KB 305 seconds 277 seconds 261 seconds
8KB / 8KB 285 seconds 269 seconds 259 seconds
16KB / 2KB 290 seconds 250 seconds 230 seconds
16KB / 4KB 303 seconds 271 seconds 243 seconds
16KB / 8KB 327 seconds 301 seconds 277 seconds
16KB / 16KB 430 seconds 306 seconds 291 seconds
32KB / 4KB 288 seconds 260 seconds 241 seconds
32KB / 8KB 311 seconds 287 seconds 264 seconds
32KB / 16KB 437 seconds 320 seconds 295 seconds
32KB / 32KB 470 seconds 437 seconds 331 seconds

Unsurprisingly I’m now using a RAID 1 volume with 128 sectors per stripe unit and file systems with a block size of 16KB and a fragment size of 2KB. I’m not sure whether these values always result in the best possible performance but they seem to work for David Brownlee and me.

Feeds

Feed RSS Last update Next update
#NetBSD Community Blog XML 2008-08-20 10:30 2008-08-20 12:30
bsdtalk XML 2008-08-20 10:30 2008-08-20 12:30
freshmeat.net announcements (Global) XML 2008-08-20 10:30 2008-08-20 12:30
http://ndis-netbsd.blogspot.com/ XML 2008-08-20 10:30 2008-08-20 12:30
hubertf's NetBSD blog XML 2008-08-20 10:30 2008-08-20 12:30
i summon one kim XML 2008-08-20 10:30 2008-08-20 12:30
Implementality XML 2008-08-20 10:30 2008-08-20 12:30
Jeremy C. Reed's blog XML 2008-08-20 10:30 2008-08-20 12:30
Latest Secunia Security Advisories XML 2008-08-20 10:30 2008-08-20 12:30
NetBSD.org News XML 2008-08-20 10:30 2008-08-20 12:30
OSNews XML 2008-08-20 10:30 2008-08-20 12:30
rhaen's pkgsrc screensaver XML 2008-08-20 10:30 2008-08-20 12:30
Seebach Exhibit 7 XML 2008-08-20 10:30 2008-08-20 12:30
start XML 2008-08-20 10:30 2008-08-20 12:30
The Julipedia XML 2008-08-20 10:30 2008-08-20 12:30
unsigned long geek = random(); XML 2008-08-20 10:30 2008-08-20 12:30
What Do You Want? XML 2008-08-20 09:15 2008-08-20 11:15
Yareev's schmonz.com - Technology XML 2008-08-20 10:30 2008-08-20 12:30