Archivo Mensual de febrero, 2009

Elecciones Galicia 2009 y software libre

La comunidad del software libre gallega está que trina (con razón) por la concesión de un “Premio a Microsoft por la promoción de la realidad plurilingüe del estado”. Ahí es nada.

No puedo evitar tener un cierto déjà vu con la reciente noticia inversa: Microsoft Premia a la Xunta. No sé en cuál de las dos direcciones me da más repelús.

Es fácil perder la fé en los políticos, sobre todo cuando a una semana de las elecciones nos regalan cosas como esta. En cualquier caso aquí os pongo un enlace de GALPON con las citas de los programas electorales que se refieren a software libre.

A veces es bien difícil votar.

Very slow reads on iSCSI (Linux initiator) but fast writes

I was getting 30+ MBps on writes but around 1 MBps on reads on a Linux host with an iSCSI initiator against a Windows Server Target.

After too much googling and dead ends I found the solution was just fiddling with the readahead value, like this:

blockdev –setra 4096 /dev/sde

(assuming sde is your iSCSI device)

This just solved it. It seems like enabling jumbo frames (=MTU 9000) can help to improve speed, but it has to be supported by your switches and both NICs.

ifconfig eth1 mtu 9000

(assuming eth1 is your storage network)

I just had to write this down because it took me really long to sort out. This thread about slow reads was of great help.

I hope it helps you!