unix - Does using different devices can be effective in IO reduction linux? -


i see have different devices on rhel box such sda, sda1 , sda2 , sdb etc. different directories lies on different file system or device/devices . e.g root directory on /dev/sda6 device . if create new directory on different device /dev/sda3 or /dev/sdb read , write head these devices same or different ?

what trying find how many read , write heads system has , associated device in way ( each device has own read , write head , write on 2 different place 2 process reduce io ) . not looking suggestion if disk drive ssd or hdd , use faster 1 . more on devices , if can used reduce overall io when used wisely .

also how found number of read/write heads on rhel box

 xyz@xyz-aspire-4736z:/$ df -h   filesystem      size  used avail use% mounted on  udev            1.5g     0  1.5g   0% /dev  tmpfs           296m  5.3m  291m   2% /run  /dev/sda6       110g  5.5g   99g   6% / 

i tried finding read capability of 2 different devices , results different them can seen below. can measure write speed ?

xyz@xyz-aspire-4736z:/$ sudo hdparm -tt /dev/sda  [sudo] password ritesh:  /dev/sda:  timing cached reads:   1818 mb in  2.00 seconds = 909.42 mb/sec timing buffered disk reads: 172 mb in  3.02 seconds =  56.88 mb/sec  xyz@xyz-aspire-4736z:/$ sudo hdparm -tt /dev/sda6  /dev/sda6: timing cached reads:   2114 mb in  2.00 seconds = 1057.04 mb/sec timing buffered disk reads: 148 mb in  3.01 seconds =  49.14 mb/sec 


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -