Suppose you have two RAID arrays, one implementing RAID 3, the other RAID 5. Each has 9 disk drives in its array. If the RAID 5 array can read a 1 Kbyte of data in 16 ms, how long would you expect the RAID 3 array to take to read 1 Kbyte of data? Why?
In the system we have two types of RAID (RAID 3 and RAID 5) with 9 disks. At high level following are the key charactestics of these RAID implementations:
RAID 3:
RAID 5:
since in RAID 3 data is stripped bytewise and RAID 5 its blockwise (Assume 128 Bytes of block). Assuming all disk controllers are allow parallel access of all 9 disks.
RAID5 access time =16 ms that is accessing all 9 disk and having one read is ataking 16 msec time.
In RAID 3 we have Byte striping so even accessing 128 Bytes on disks we need (128/8=16 read cycle).
Therefore accessing 1 KB of data will take 16 reads in RAID 3 where 1 read is 16 ms
Total access time of RAID 3 for 1 KB of data=16*16=256 ms.
The detailed explanation clearly showing why RAID 3 is taking large time then RAID 5 for same disk configuration and now a days RAID 3 is obsolete.
Suppose you have two RAID arrays, one implementing RAID 3, the other RAID 5. Each has...
For the following questions, describe in detail what happens in a RAID-5 system when one disk fails. You may assume a system with 6 disks. ( 1 point) What happens when reading a piece of data from which the parity is stored on the failed disk? (1 point) What happens when reading a piece of data for which the actual data is stored on the failed disk? (1 point) If we replace the failed disk with a new disk, how...
can you do this question in C++.
- LILOPOULOULU 5. You are given two arrays each of which is sorted. Write a method called mergelt that takes the two arrays and merges them into one array. For instance, if you had 5. 9. 11 and 4, 6, 7 then you need to merge it to 4,5,6,7,9,11
Write a C program with a filename netID_intarray.c that has 2 arrays. One is a two-dimensional array of strings which contains 5 words, each word can be a max of 20 characters long. The list of strings should be static in your code. The second integer array is populated by prompting the user for 10 integers to be stored in the array. Here is the simple output: $ ./run Number Work Enter integer 1 for the array: 45 Enter integer...
Suppose that you have two sorted numerical arrays A[1 . . . m] and B[1 . . . n]. You want to compute the k’th smallest number in the merged array of all m + n elements. Please design a divide- and-conquer algorithm that can do so in O(log(m + n)). You can assume for simplicity that k is even.
Question 2 In this question, you will read two data files that
include integers into two different arrays – the same way we did in
class (but we are doing to arrays here). Duplicates are ok. 1-
After you read the data into the array (use one function that takes
an int array and a dsize by reference just like we did in class,
and call that from main to fill both arrays). 2- Include a
printArray function so that...
For Computer Organization and Design: Suppose we have 3 arrays A, B, and C, array A’s base address is in $S3, B’s base address is in $S4, C’s base address is in $S5. You can only use two temporal registers $t0 and $t1. Convert the following code into MIPS assembly language code. Suppose every array element occupies 1 word in MIPS (32 bits). A[20] = B[0] + C[6] - 1
Lab 2: (one task for Program 5): Declare an array of C-strings to hold course names, and read in course names from an input file. Then do the output to show each course name that was read in. See Chapter 8 section on "C-Strings", and the section "Arrays of Strings and C-strings", which gives an example related to this lab. Declare the array for course names as a 2-D char array: char courseNames[10] [ 50]; -each row will be a...
IN C++ ADD COMMENTS AS MUCH AS POSSIBLE Exercise 1: Duplicate the Arrays Suppose you are developing a program that works with arrays of integers, and you find that you frequently need to duplicate the arrays. Rather than rewriting the array-duplicating code each time you need it, you decide to write a function that accepts an array and its size as arguments. Creates a new array that is a copy of the argument array, and returns a pointer to the...
Suppose we have two integer arrays with the same type, write an AL program to check whether or not there are two integers, one from each array, with sum equal to zero. If there are such integers exist, print out all such combinations to the console window, otherise, print out "No integers in these two arrays, one from each array, with sum equal to zero." to the console window. December 3. 2018 For example, suppose we have the following two...
You have two Windows Server 2012 R2 computers with the Hyper-V role installed. Both computers have two hard drives, one for the system volume and the other for data. One server, named HyperVTest, is going to be used mainly for testing and what-if scenarios, and its data drive is 250 GB. You estimate that you might have 8 or 10 VMs configured on HyperVTest with two or three running at the same time. Each test VM has disk requirements ranging...