Explore how to measure the performance of different filesystems doing different file and directory operations.
- [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 redundant…because each time I run the script,…
Author
Released
2/15/2018- Timing techniques
- Packages for performance
- Identifying and optimizing CPU bottlenecks
- Finding memory bottlenecks
- Diagnosing disk bottlenecks
Skill Level Advanced
Duration
Views
Related Courses
-
DevOps Foundations
with Ernest Mueller2h 47m Beginner -
Linux: Web Services
with Scott Simpson1h 18m Intermediate
-
Introduction
-
Welcome32s
-
-
1. Performance Overview
-
Timing techniques14m 16s
-
Timing techniques solution3m 21s
-
The proc filesystem7m 58s
-
Packages for performance6m 8s
-
Performance Co-Pilot and Tuna10m 23s
-
2. CPU Bottlenecks
-
top for CPU usage1m 43s
-
sar for CPU2m 59s
-
/proc/cpuinfo2m 18s
-
Throughput vs. response time4m 17s
-
-
3. Memory Bottlenecks
-
What is a memory leak?6m 53s
-
CPU caches and page caches12m 43s
-
Page sizes and page faults11m 17s
-
-
4. Disk Bottlenecks
-
Hard disks and SSD behavior7m 21s
-
Filesystem types and performance10m 16s
-
Solution: Disk bottlenecks3m 49s
-
-
Conclusion
-
Next steps40s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Solution: Disk bottlenecks