09-24-2014
Quote:
Originally Posted by
gacanepa
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.
8 More Discussions You Might Find Interesting
1. Debian
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)
Discussion started by: John Tate
3 Replies
2. Shell Programming and Scripting
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)
Discussion started by: Marc G
2 Replies
3. Shell Programming and Scripting
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)
Discussion started by: zaxxon
3 Replies
4. Linux
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)
Discussion started by: gacanepa
0 Replies
5. Shell Programming and Scripting
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)
Discussion started by: math4
15 Replies
6. HP-UX
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)
Discussion started by: Vaishey
5 Replies
7. AIX
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)
Discussion started by: vilius
0 Replies
8. Shell Programming and Scripting
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)
Discussion started by: gtsonoma
5 Replies
LEARN ABOUT DEBIAN
go-testfunc
GO-TESTFUNC(7) Miscellaneous Information Manual GO-TESTFUNC(7)
NAME
go - tool for managing Go source code
DESCRIPTION
The 'go test' command expects to find test, benchmark, and example functions in the "*_test.go" files corresponding to the package under
test.
A test function is one named TestXXX (where XXX is any alphanumeric string not starting with a lower case letter) and should have the sig-
nature,
func TestXXX(t *testing.T) { ... }
A benchmark function is one named BenchmarkXXX and should have the signature,
func BenchmarkXXX(b *testing.B) { ... }
An example function is similar to a test function but, instead of using *testing.T to report success or failure, prints output to os.Stdout
and os.Stderr. That output is compared against the function's "Output:" comment, which must be the last comment in the function body (see
example below). An example with no such comment, or with no text after "Output:" is compiled but not executed.
Godoc displays the body of ExampleXXX to demonstrate the use of the function, constant, or variable XXX. An example of a method M with
receiver type T or *T is named ExampleT_M. There may be multiple examples for a given function, constant, or variable, distinguished by a
trailing _xxx, where xxx is a suffix not beginning with an upper case letter.
Here is an example of an example:
func ExamplePrintln() {
Println("The output of
this example.")
// Output: The output of
// this example.
}
The entire test file is presented as the example when it contains a single example function, at least one other function, type, variable,
or constant declaration, and no test or benchmark functions.
See the documentation of the testing package for more information.
AUTHOR
This manual page was written by Michael Stapelberg <stapelberg@debian.org>, for the Debian project (and may be used by others).
2012-05-13 GO-TESTFUNC(7)