From the course: Linux Performance Tuning

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Solution: Disk bottlenecks

Solution: Disk bottlenecks - Linux Tutorial

From the course: Linux Performance Tuning

Start my 1-month free trial

Solution: Disk bottlenecks

- [Instructor] Now let's talk about solutions to the challenges. So, we had an exercise disk that sh script 4 that did btrfs, ext4, and vfat and the challenge we asked you to do ht4, btrfs, and xfs. So, you just have to replace the vfat with xfs and run the script a couple of times with the file size and number of files. Then, for the third challenge question, creating a directory path that's a thousand directories deep well, that's going to take a little bit of programming, so. Let's look at the results I got and look at the code I wrote to do the thousand deep directory. I've got the result in a file. I had done a type script command. So, let's look at this. So, I made directory temp foo and that's where I'm going to have the script create the directories and so forth. So, the first time I ran it, file size one and ten K files and we see the results for creating the files and for grepping the files and I added to the script, the making the deep directory. Now, that's going to be…

Contents