Amazon EC2 IO Performance

While discussing the topic of cloud computing today, my co-worker mentioned the Amazon EC2 service and gave me a quick presentation of the features that are available. Since I am a big fan of virtualisation and the idea of scalable architectures, I immediately thought “This could be great to test some things out and is a wonderful opportunity to play around with different virtual machines”. So I signed up and did some quick tests to look at the IO performance…

I was especially interested in using these machines for storage and maybe some tests with databases. For these tests, my current Virtual Server serves as a reference, simply because EC2 could provide an alternative to that Virtual Server. In my tests, I included the following configurations:

Read the rest of this entry

PuTTY customisation

One of the first things I do when I install PuTTY on a new machine, is to change the default color settings to something that is easier to read. This is a problem I have noticed on Red Hat machines, where the terminal color settings are not that great.

When you do an “ls” for example and the output contains folders, these are shown in a dark blue color, which makes it very hard to read on a black background. See the first picture in the gallery below.

Read the rest of this entry

Samba: Windows Explorer Refresh

Using Red Hat with Samba (Version 3.0.10-1.4E.11), I had the problem that Windows Explorer would not refresh properly when browsing the folders served by Samba. When creating a new folder, nothing showed up and it was necessary to manually refresh the Explorer window to see the “New Folder”. The same symptoms appeared with newly created files.

To fix this, add the following line to the [global] section of your smb.conf (usually located under /etc/samba/smb.conf):

[global]
refresh = 1

Sadly, I could not find this parameter in the official Samba manpages. Should anyone have more information or any documentation on this, feel free to let me know.

PCI: Probing PCI Hardware (Bus 00)

When I was installing Red Hat Enterprise Linux on a server, the machine suddenly hung at the following line:

PCI: Probing PCI Hardware (Bus 00)

This is a well-known problem (as a simple search on Google will reveal), so to solve it simply add the following parameter to the kernel boot configuration:

Read the rest of this entry

Now with IPv6

Well, you’ve got to go with the time. krenger.ch is now reachable through IPv6 thanks to the IPv6 support of HostEurope:

simon@atlas:~$ ping6 www.krenger.ch
PING www.krenger.ch(2a01:488:66:1000:53a9:2967:0:1) 56 data bytes
64 bytes from 2a01:488:66:1000:53a9:2967:0:1: icmp_seq=1 ttl=64 time=0.022 ms
64 bytes from 2a01:488:66:1000:53a9:2967:0:1: icmp_seq=2 ttl=64 time=0.035 ms
64 bytes from 2a01:488:66:1000:53a9:2967:0:1: icmp_seq=3 ttl=64 time=0.042 ms

BASH: Wait for log entry

For a startup script, I needed to start JBoss and start another component as soon as the complete JBoss server was started. When you execute the “run.sh” script that comes with JBoss, it immediately exits and starts JBoss in the background (which is quite nice I think). Unfortunately, when I started the other component using this method, the additional program was unhappy, since JBoss was not ready yet. So I had to come up with a trick to delay the start of the additional program.

So with the help of the internet and my co-worker, we came up with the following script:

Read the rest of this entry

BASH Setup in Solaris 10

Coming from Linux distributions where BASH is usually already set up and configured, I had to find my way around in a UNIX environment first. So here I present the files necessary for a proper installation of BASH under Solaris 10 (yes, I know Solaris 11 Express is out :)).

So after installing the BASH package (see my other post on setting up Solaris), you might find your new shell to be kinda boring. Also, it simply shows up as bash-3.00#, which by itself does not tell you a lot. So lets improve it a bit.

Read the rest of this entry

ZFS vs. Hardware RAID (RAID 10)

As I am currently fiddling around with Oracle Solaris and the related technologies, I wanted to see how the ZFS file system compares to a hardware RAID Controller. The ZFS file system allows you to configure different RAID levels such as RAID 0, 1, 10, 5, 6. In this post, I want to test the RAID 10 performance of ZFS against the performance with the HP RAID Controller (also in a RAID 10 configuration) over 4 disks.

Read the rest of this entry

Enable instant loading in Chrome 8

Because of its minimalistic interface and blazing speed, I am a big fan of Google Chrome. I am using the Developer channel version to get early access to the latest features such as the integrated PDF viewer or GPU acceleration. You can find more information on how to install this version here.

Another nice feature added with the latest version (8.0.552.0 dev as of this writing) is the “Instant” feature. It is basically Google Instant for your browser and greatly accelerates your browsing experience. This Instant feature loads the pages as you are typing in the URL bar of your browser. This means as soon as you see the correct page displayed (while typing), hit Enter and you are already there. Nice!

Read the rest of this entry

Hello world

My name is Simon Krenger, I am a Technical Account Manager (TAM) at Red Hat. I advise our customers in using Kubernetes, Containers, Linux and Open Source.

Elsewhere

  1. GitHub
  2. LinkedIn
  3. GitLab