But it does give rise to a couple of other questions, the first being how many physical drives are there in the system. If the answer is less than five, you will see degradation in the read and write perfomance as it is likely that behind the hypervisor (in your case VirtualBox) there will be less paths than defined devices.
The second question is are you in fact running VirtualBox on a Physical or within a Virtual Server.
Unfortunately having only a single drive here is going to skew these figures, to test this properly you'll need multiple physical drives.
There are multiple impacts here - mostly from the hard drive, the seek time and latency will be major contributors as virtual box only creates a contiguous file if you specify that it should preallocate all the disk space. Other than that it will scatter the writes all over the disk if you specify that it should grow the file as required.
I don't think that this is really a suitable way to evaluate the performance of any RAID as it's all on one physical disk.
I don't think that this is really a suitable way to evaluate the performance of any RAID as it's all on one physical disk.
Regards
Dave
I agree with you. I actually gave it a try because I didn't have any other setup available to test. But in theory (leaving VirtualBox aside, and if I had the actual physical drives available), reads should be ~twice as fast, and writes about as fast as RAID1, am I correct?
The RAID10 performance will be faster, but I'm not sure it will be twice as fast. Generally better performance is related to an increase on the number of spindles. There are also benefits to be derived from the committal regime but there can be a certain amount of trial and error, there are a great many factors that influence the performance of a RAID array - that's why there are a great many books and courses on the subject.
I agree with you. I actually gave it a try because I didn't have any other setup available to test. But in theory (leaving VirtualBox aside, and if I had the actual physical drives available), reads should be ~twice as fast, and writes about as fast as RAID1, am I correct?
That depends on what the bottleneck is in whatever configuration you're testing, and how you're testing it.
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 2,288
Thanks Given: 430
Thanked 480 Times in 395 Posts
Hi.
Here is a report on several disk configurations that was done in 2009 using benchmark code bonnie++ (32-bit 2-CPU Athlon box):
which can be found in the Debian repositories.
Currently I use RAID10 with 4 SATA disks with LVM on top of the RAID on a virtual-machine server. I have not run the bonnie++ benchmarks on that system, but perhaps I will now that I see that there is some interest.
The only reason I would use RAID10 with less than 4 disks is practice (as with setup, etc), not for performance.
Ya, I know, who in this day and age is mirroring rootvg...?
But yes, my shop does and I need to script checking for it.
I also know I could just inverse the the logic and call the LV mirrored
if the LPs and PPs were not equal. But I want to do the math in the if test
and also know I could... (5 Replies)
Hello,
P7 machine
PCI Express x8 Planar 3Gb SAS Adapter
RAID10 array(2 disks)(not AIX lvm) was configured and working, then one disk failed and IBM support replaced that. Now raid array is degraded, data is not lost. I see new disk model(same as original) serial and etc.
What I did trying... (0 Replies)
Hi Folks,
Could anyone please assist me with the what could be the scenarios to test the file system mount/umount performance check in HPUX.
Thanks in advance,
Vaishey (5 Replies)
Hi,
another little question...
"sn" is an array whose elements can vary from about 55,000 to about 150,000 elements. Each element consists of an integer between 0-255, eg: ${sn} contain the value: 103 . For a decrypt-procedure I need scroll all the elements 4 or 5 times. Here is an example of... (15 Replies)
Hi everyone,
I am trying to prevent the ehci_hcd kernel module to load at boot time.
Here's what I've tried so far:
1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here):
2) Blacklisted the module by adding the following string to
3) Tried to blacklist the module... (0 Replies)
Hi all,
I am looking for a quick/short way in awk to check if an associative array has any content.
I know I can split() it to an indexed array and check if the 1st element is set, or cycle through it with something like for( ele in arr ), but I want to avoid that, as I am looking for a shorter... (3 Replies)
Hi folks,
I am self-learning as I can
I have a script that has read a file into an array.
I can read out each line in the array with the code:
for INDEX in {0..$LENGTH} ## $LENGTH was determined at the read in
do
echo "${data}"
done
What I need to do is test the first char... (2 Replies)
I am having some troubles with apt-get. I did an apt-get update and an apt-get upgrade. Some dependencies did not download, and so I had to do `apt-get -f install` to fix that. The thing is I get an error about /var/lib/dpkg/available
root@hayek:~# apt-get -f install
Reading package lists...... (3 Replies)