RSS

Monthly Archives: January 2011

linux

One of my favorite linux quotes is “linux if free if your time is worth nothing” I did some research to find out who to give credit to and couldn’t find an answer so i’ll go with “anon”

This website runs on a generic build of Ubuntu 10. I bought the hardware, tried a few different distros, configured the server and after some blood, sweat and tears got the thing operational. This server has no icons or fancy graphics but strictly the software it absolutely needs to operate what I want, LAMP.

I am a fan of linux where appropriate. For my site that gets a whopping 400 hits a month and generates no revenue, linux is great. If you have the choice, stay far, far away from linux. It is the black hole of your valuable time. My biggest annoyance is support, try to find out how to do something in linux and you have to find out how to do it in your very own specific 1 in 100 version of linux. Mind you, even if you find that, try to cross reference it with another help website and you will get different solutions to your problem. The simplest tasks, like changing an ip address requires you to learn how to edit and save files with an editor meant for the stone ages and also the commands necessary to restart your networking device. Problem is you never remember it because text based operating systems are not intuitive so unless you have the exact command you are SOL.

I could have gone with the GUI for ubuntu server. I tried some GUI bases distros but wasn’t satisfied enough and felt it would defeat my purpose of going hard core… in the end I barely got R rated and was scared. I couldn’t imagine if Linux was my only computer operating system.

In charges the Virtual Machine. Virtualization started with the mainframe but was largely abandoned for client server models. Large numbers of hard to manage clients PCs and servers forced a consolidation effort in the late 90s. At the root of this effort was the need for an efficient operating system that can act as a layer inbetween the VM and firmware. VMWare’s highly modified OS acts as a container for servers and desktop reducing the need for massive amounts of hardware. From the outside, a VM acts just like the real server but now many servers can run on one pieces of hardware as long as they know how to share nicely.

Similar to the host installed ESX or ESXi that communicates directly to the hardware, is VMWare Player or other virtualization platforms that sit on top of the windows operating system and allow you to run an OS inside of an OS. This is a great opportunity to try Linux without much of the hassle of the initial setup. VM images can be downloaded and played just like a dvd with minimal setup. One popular application of this technology is the hacker tuned linux distro called BackTrack. Now hackers can play their 3d action games that windows is good at then hop in their VM and get sucked into the dark side of linux all on the same CPU.

I encourage you to check out Linux to open your mind. That is why it still exists, because total market domination is primed for failure.

 
Leave a comment

Posted by on January 7, 2011 in Network Admin, Virtual

 

The beauty of SSD

No more grinding and waiting for me, just the humm of 4 fans to keep me company.

Here are some SQLIO results from a test on my new SSD which is an OCZ vertex 2. The first test uses small 4KB disk requests to see how many IOPS I can get and the second uses larger 256KB IOs to see the top bandwidth.

C:UsersnujakDesktopSQLIO_old>sqlio -kW -t24 -s30 -o20 -fsequential -b4 -BH -LS -F1file1lun1th.txt
sqlio v1.5.SG
using system counter for latency timings, 2740654 counts per second
parameter file used: 1file1lun1th.txt
file C:testfile.dat with 1 thread (0) using mask 0x0 (0)
1 thread writing for 30 secs to file C:testfile.dat
using 4KB sequential IOs
enabling multiple I/Os per thread with 20 outstanding
buffering set to use hardware disk cache (but not file cache)
using specified size: 10240 MB for file: C:testfile.dat
initialization done
CUMULATIVE DATA:
throughput metrics:
IOs/sec: 24246.70
MBs/sec: 94.71
latency metrics:
Min_Latency(ms): 0
Avg_Latency(ms): 0
Max_Latency(ms): 47
histogram:
ms: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24+
%: 100 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

C:UsersnujakDesktopSQLIO_old>sqlio -kR -t24 -s30 -o20 -fsequential -b256 -BH -LS -F1file1lun1th.txt
sqlio v1.5.SG
using system counter for latency timings, 2740654 counts per second
parameter file used: 1file1lun1th.txt
file C:testfile.dat with 1 thread (0) using mask 0x0 (0)
1 thread reading for 30 secs from file C:testfile.dat
using 256KB sequential IOs
enabling multiple I/Os per thread with 20 outstanding
buffering set to use hardware disk cache (but not file cache)
using specified size: 10240 MB for file: C:testfile.dat
initialization done
CUMULATIVE DATA:
throughput metrics:
IOs/sec: 902.40
MBs/sec: 225.60
latency metrics:
Min_Latency(ms): 21
Avg_Latency(ms): 21
Max_Latency(ms): 55
histogram:
ms: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24+
%: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 36 61 0 3

225MBs/sec and 24,000 IOPS are two awesome numbers and I got it all in near silence. The SSD is gaining ground each year but the HDD or spinning platter based disk storage still common. The drive is advertised at 285/40,000 but I’d say for a few minutes of testing i’m satisfied with the results.

When buying disk you should evaluate by cost/per GB and cost/per MB/sec. I picked mine up for about $190 so my cost/gb = $1.58 and my cost per MB/s = $0.84

Instead of the 120GB option I considered getting two 60GB drives and striping them. I decided not to because I couldn’t justify the cost with the already massive performance jump I was taking. This drive is also rated 7.4 on a scale of 1.0 to 7.9 on the Windows Experience Index.

 
Leave a comment

Posted by on January 5, 2011 in Network Admin