1. Core I7 920 @ 3,6 Ghz Is a True Beast!

    Wed 04 March 2009

    Even today, Core 2 Duo processors clocked at 2 ghz are no slugs. However, the Core i7 920 is of a different kind. First, it is not only clocked at a higher speed (default 2,8 Ghz), it is also a quad-core processor. Thanks to the re- introduction of hyperthreading, this processor can handle 8 parallel proceses simultaneously.

    Just how fast a Core i7 can be, especially if overclocked to 3,6 Ghz shows this diagram:

    chart

    Using my still in development version of PPSS, four systems processed 400 GB of WAV files and converted them to MP3. This simple pie-chart shows that the Core i7 on it's own, using 8 parallel processes, managed to process 2/3 of the files. The Core i7 was way faster than the other 3 systems combined! This is marvelous, I think. And it seems all due to Hyperthreading. If an additional duo core system would have been added, the other systems combined would have also 8 parallel threads available and would have processed roughly 50% of the items. However, please note that the Core i7 is a quad core processor and has 'only' four physical cores...

    Tagged as : Uncategorized
  2. 'Linux: Unattended Installation With Debian Preseeding'

    Sun 22 February 2009

    Debian Linux provides a mechanism to install the operating system without user intervention. This mechanism is called 'preseeding' and is similar to Red Hat Kick Start and Sun Solaris Jump Start.

    The basic idea is that the installer is fed a recipe, according to which the system is installed. This recipe can be fed by a floppy, usb stick, cdrom, or through a web server over the network. To use such a recipe, just boot from a Debian CD-rom and issue the following command:

    Floppy based: (you really shouldn't be using those anymore) 

    Boot: auto file=/floppy/preseed.cfg

    USB stick based:

    Boot: auto file=/hd-media/preseed.cfg

    Network based: 

    Boot: auto url=http://internal.web.server.com/preseed.cfg

    The only work you have to do is to create a preseed configuration file. This is really simple, since preseeding is well-documented and preseed configuration files are easy to understand.

    d-i debian-installer/country string US 

    d-i debian-installer/locale string en_US.UTF-8 

    d-i mirror/country string manual 

    d-i mirror/http/hostname string ftp.uk.debian.org 

    d-i mirror/http/directory string /debian 

    base-config apt-setup/hostname string ftp.uk.debian.org 

    base-config apt-setup/directory string /debian

    As you can see, it is just a text-based file that configures some variables that are used during installation. It is basically an answer file. Questions that are asked by the installer during installation are answered with the preseed file.

    For a full example, take a look here. 

    Very extensive documentation can be found here.

    A  minimal debian installation without support for X can be installed within 2.5 minutes, assuming a network-based installation (tested in VMware Workstation). 

    Please note that if your company uses Debian Linux not only for servers but also for desktops / laptops, preseeding is an ideal solution to provide your users with a new and fresh installation whenever they want. Users or sysadmins shouldn't be bussy manually installing these systems. 

    I have implemented Debian Preseeding to create a fully unattended and automated installation of laptops, based on LUKS full disk encryption, which is supported by the Debian installer (!), with all required software installed. All additional software is installed with a custom installation framework based on shell-scripts. The installation framework makes sure that if anything goes wrong during installation, it is noticed. 

    Unattended installation allows system administrators to quickly deploy new installations and guarantee that such installations are 100% correct. They rule out the human factor, which tends to introduce random errors. So take a look at Debian Preseeding and decide for yourself how useful it is.

    Tagged as : Uncategorized
  3. Why Debian/Ubuntu Linux Is to Be Preferred

    Mon 16 February 2009

    There are many Linux distributions around. However, I always come back to just one: Debian. The reason why so many people use Debian is the same reason I like it so much: software management.  With good old apt-get or the new aptitude, software is installed within minutes. Due to the vast amount of software available even the most obscure software can be installed without resorting to manually downloading and compiling.

    But the most important aspect of Debian is it's mantra of stability. It is build for servers. For people who don't want to take risks and prefer stability and security above anything else. This is also the main gripe most people have about Debian: it is often not very up-to-date regarding drivers or the latest software versions.  If that is a problem, there is still the possibility to run the testing branch of Debian, exchanging the risk on things getting broken or unstable for the availability of newer software.

    As a part-time system administrator, one of the most ideal components of Debian is its installer. Especially the "preseeding" bit. Preseeding is for Debian what Kickstart is for Red Hat and Jump start is for Sun Solaris. It allows a full unattended installation of Debian Linux on any hardware without ever touching your keyboard. This isn't new, but it is much more user friendly as opposed to, for example, kick start. 

    Debian Preseeding is very well documented and can easily be extended to run your own scripts after installation for some post-configuration.

    I currently use it to install hosts by booting them with an USB stick and using a network install. Not only are network installs often the fastest solution, assuming that a local Debian mirror is available, the system is also direct up-to-date. 

    Abount preseeding:

    [http://d-i.alioth.debian.org/manual/en.i386/apb.html

    ]1

    [http://wiki.debian.org/DebianInstaller/Preseed

    ]2

    About setting up a local Debian mirror (requires about 50 GB of storage space on a web server) 

    http://www.howtoforge.com/local_debian_ubuntu_mirror

    Tagged as : Uncategorized

Page 19 / 23