0% found this document useful (0 votes)
157 views2 pages

New 1

1 . Consider a scenario in which an I/O request from track 1 is followed by an I/O request from track 2 on a sector that is 180 degrees away from the first request. A third request is from a sector on track 3, which is adjacent to the sector on which the first request is made. Discuss the advantages and disadvantages of using the command queuing algorithm in this scenario. Solution/Hint: In this scenario, command queuing provide rotational latency optimization where request from track 3 is serviced before request 2 to avoid one rotation timing. Assume if request 3 is from the same track 1 in that case command queuing provides seek time optimization and improves disk performance. 2. Which application benefits the most by bypassing the write cache and Why? Solution/Hint: Application with very large size I/O writes. 3. An Oracle database uses a block size of 4 K for its I/O operation. The application that uses this database primarily performs a sequential read operation. Suggest and explain the appropriate values for the following cache parameters: cache page size, cache allocation (read versus write), pre-fetch type, and write aside cache. Solution/Hint: Cache page size : 4 K Cache allocation (read versus write) : more read cache pre-fetch type : fixed pre-fetch Write aside cache : Large value "An Oracle database uses a block size of 4 K. The application that uses this database usually performs a sequential read operation. It would have more read cache and a fixed pre-fetch type with a large write aside cache."

Uploaded by

gk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
157 views2 pages

New 1

1 . Consider a scenario in which an I/O request from track 1 is followed by an I/O request from track 2 on a sector that is 180 degrees away from the first request. A third request is from a sector on track 3, which is adjacent to the sector on which the first request is made. Discuss the advantages and disadvantages of using the command queuing algorithm in this scenario. Solution/Hint: In this scenario, command queuing provide rotational latency optimization where request from track 3 is serviced before request 2 to avoid one rotation timing. Assume if request 3 is from the same track 1 in that case command queuing provides seek time optimization and improves disk performance. 2. Which application benefits the most by bypassing the write cache and Why? Solution/Hint: Application with very large size I/O writes. 3. An Oracle database uses a block size of 4 K for its I/O operation. The application that uses this database primarily performs a sequential read operation. Suggest and explain the appropriate values for the following cache parameters: cache page size, cache allocation (read versus write), pre-fetch type, and write aside cache. Solution/Hint: Cache page size : 4 K Cache allocation (read versus write) : more read cache pre-fetch type : fixed pre-fetch Write aside cache : Large value "An Oracle database uses a block size of 4 K. The application that uses this database usually performs a sequential read operation. It would have more read cache and a fixed pre-fetch type with a large write aside cache."

Uploaded by

gk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

1 .

Consider a scenario in which an I/O request from track 1 is followed by an I/O


request from track 2 on a sector that is 180 degrees away from the first request. A

third request is from a sector on track 3, which is adjacent to the sector on which

the first request is made. Discuss the advantages and disadvantages of using the
command queuing algorithm in this scenario.

Solution/Hint:

In this scenario, command queuing provide rotational latency optimization


where request from track 3 is serviced before request 2 to avoid one
rotation timing. Assume if request 3 is from the same track 1 in that case
command queuing provides seek time optimization and improves disk
performance.

2. Which application benefits the most by bypassing the write cache and Why?

Solution/Hint:

Application with very large size I/O writes.

3. An Oracle database uses a block size of 4 K for its I/O operation. The
application
that uses this database primarily performs a sequential read operation. Suggest
and explain the appropriate values for the following cache parameters: cache page
size, cache allocation (read versus write), pre-fetch type, and write aside cache.

Solution/Hint:

Cache page size : 4 K

Cache allocation (read versus write) : more read cache

pre-fetch type : fixed pre-fetch

Write aside cache : Large value


"An Oracle database uses a block size of 4 K. The application
that uses this database usually performs a sequential read operation.
It would have more read cache and a fixed pre-fetch
type with a large write aside cache."

You might also like