{"video_id":"-AC_deUzw2s","title":"Your PC Is Stealing Space From You","channel":"Techquickie","show":"Techquickie","published_at":"2023-05-05T14:58:16Z","duration_s":243,"segments":[{"start_s":0.0,"end_s":5.68,"text":"Computer storage feels like a ripoff, considering you never get quite as much space as it says","speaker":null,"is_sponsor":0},{"start_s":5.68,"end_s":9.84,"text":"on the box. The part of the reason for this is something called overprovisioning. But we're","speaker":null,"is_sponsor":0},{"start_s":9.84,"end_s":13.6,"text":"not going to talk about that today. Not because we're mean, but because we already did a video on","speaker":null,"is_sponsor":0},{"start_s":13.6,"end_s":18.48,"text":"it. But what we are going to talk about today is another sneaky way that your own drives,","speaker":null,"is_sponsor":0},{"start_s":18.48,"end_s":23.76,"text":"the ones in your computer right now, steal space from you. If you bring up the properties box for","speaker":null,"is_sponsor":0},{"start_s":23.76,"end_s":29.12,"text":"any random file on Windows, you'll see a stat called size on disk. And odds are that it'll be","speaker":null,"is_sponsor":0},{"start_s":29.12,"end_s":34.48,"text":"larger than the field that says size. This means basically what it shows. Most files take up more","speaker":null,"is_sponsor":0},{"start_s":34.48,"end_s":40.0,"text":"space than they really need to occupy. But why? The answer has to do with how your computer's","speaker":null,"is_sponsor":0},{"start_s":40.0,"end_s":45.68,"text":"file system stores data. If you're using Windows, its NTFS file system organizes all of its data","speaker":null,"is_sponsor":0},{"start_s":45.68,"end_s":50.64,"text":"into four kilobyte clusters by default. Aside from making your drive delightful and crunchy,","speaker":null,"is_sponsor":0},{"start_s":50.64,"end_s":55.28,"text":"discrete clusters like these serve the important purpose of making it simpler for your system to","speaker":null,"is_sponsor":0},{"start_s":55.36,"end_s":59.84,"text":"keep track of where everything is. In other words, having consistent cluster size reduces the","speaker":null,"is_sponsor":0},{"start_s":59.84,"end_s":64.96,"text":"overhead of your file system. The downside of this is what we call slack space. In this case,","speaker":null,"is_sponsor":0},{"start_s":64.96,"end_s":70.48,"text":"if a file isn't an exact multiple of four kilobytes in size, you're going to have some wasted space,","speaker":null,"is_sponsor":0},{"start_s":70.48,"end_s":75.36,"text":"or slack. You can see this very easily with small Microsoft Word documents, many of which take up","speaker":null,"is_sponsor":0},{"start_s":75.36,"end_s":80.24,"text":"16 kilobytes on your disk, even though the real size might be a few kilobytes less. A few kilobytes","speaker":null,"is_sponsor":0},{"start_s":80.24,"end_s":84.96,"text":"of wasted space here and there might not seem like that big a deal. But given how many small","speaker":null,"is_sponsor":0},{"start_s":84.96,"end_s":90.16,"text":"files are on the typical SSD, it really starts to add up. Not to mention that many of these small","speaker":null,"is_sponsor":0},{"start_s":90.16,"end_s":94.8,"text":"files are system files that Windows needs to run, so it's not like you can just get rid of them.","speaker":null,"is_sponsor":0},{"start_s":94.8,"end_s":99.12,"text":"But the good news here is that slack space is unlikely to have a massive effect on your drive","speaker":null,"is_sponsor":0},{"start_s":99.12,"end_s":104.0,"text":"unless you are really hurting for those last two megabytes. And that four kilobytes is a relatively","speaker":null,"is_sponsor":0},{"start_s":104.0,"end_s":108.88,"text":"small cluster size compared to other file systems, such as one commonly found on USB flash drives.","speaker":null,"is_sponsor":0},{"start_s":108.88,"end_s":113.2,"text":"But with flash drives being smaller than the typical SSD, why the heck do they have bigger","speaker":null,"is_sponsor":0},{"start_s":113.2,"end_s":118.16,"text":"cluster sizes and more wasted space? Although flash drives can use a variety of file systems,","speaker":null,"is_sponsor":0},{"start_s":118.16,"end_s":123.76,"text":"really any file system, XFAT is popular among modern devices. Despite it having a name that","speaker":null,"is_sponsor":1},{"start_s":123.76,"end_s":129.52,"text":"makes it sound more like the next trendy diet. Unlike NTFS, XFAT has clusters of between 32 and","speaker":null,"is_sponsor":1},{"start_s":129.52,"end_s":134.48,"text":"128 kilobytes. Although you might immediately think that that would result in more slack space,","speaker":null,"is_sponsor":1},{"start_s":134.48,"end_s":138.24,"text":"and you would be right, there are some real benefits to arranging the files this way.","speaker":null,"is_sponsor":1},{"start_s":138.24,"end_s":143.04,"text":"Like other file systems, XFAT has to keep track of which clusters are free and which are used.","speaker":null,"is_sponsor":1},{"start_s":143.12,"end_s":148.72,"text":"And this information also takes up space on the drive. So fewer, larger clusters means a smaller","speaker":null,"is_sponsor":1},{"start_s":148.72,"end_s":153.44,"text":"cluster record. As far as the concern about more slack space, it's less of a space hog if you","speaker":null,"is_sponsor":1},{"start_s":153.44,"end_s":157.76,"text":"only have a relatively small number of large files, which is exactly what many kinds of","speaker":null,"is_sponsor":1},{"start_s":157.76,"end_s":162.24,"text":"flash drives are used for, such as the SD cards and cameras that store high resolution images.","speaker":null,"is_sponsor":0},{"start_s":162.24,"end_s":167.36,"text":"XFAT also differs from NTFS in that it doesn't keep a journal. Basically, that's a log of changes","speaker":null,"is_sponsor":0},{"start_s":167.36,"end_s":171.68,"text":"that helps the file system recover in the event of a crash. Journaling takes up precious space,","speaker":null,"is_sponsor":0},{"start_s":172.08,"end_s":176.48,"text":"XFAT doesn't bother with it. Instead, XFAT uses large clusters so that if there's some kind of","speaker":null,"is_sponsor":0},{"start_s":176.48,"end_s":181.28,"text":"unexpected failure, such as yanking the drive out of the USB port while it's busy, chances are a","speaker":null,"is_sponsor":0},{"start_s":181.28,"end_s":185.76,"text":"smaller number of clusters overall will be affected. I guess the moral of today's story is that,","speaker":null,"is_sponsor":0},{"start_s":185.76,"end_s":190.32,"text":"no, the computer storage industry isn't out to rip you off in the way that you think it is,","speaker":null,"is_sponsor":0},{"start_s":190.32,"end_s":196.08,"text":"though I still wouldn't blow 40 bucks on an SSD water block. I can't believe those exist.","speaker":null,"is_sponsor":0},{"start_s":196.08,"end_s":202.08,"text":"Thanks for watching guys, like, dislike, check out some of our other videos, comment with video suggestions down below and don't forget to subscribe and follow.","speaker":null,"is_sponsor":0}],"full_text":"Computer storage feels like a ripoff, considering you never get quite as much space as it says on the box. The part of the reason for this is something called overprovisioning. But we're not going to talk about that today. Not because we're mean, but because we already did a video on it. But what we are going to talk about today is another sneaky way that your own drives, the ones in your computer right now, steal space from you. If you bring up the properties box for any random file on Windows, you'll see a stat called size on disk. And odds are that it'll be larger than the field that says size. This means basically what it shows. Most files take up more space than they really need to occupy. But why? The answer has to do with how your computer's file system stores data. If you're using Windows, its NTFS file system organizes all of its data into four kilobyte clusters by default. Aside from making your drive delightful and crunchy, discrete clusters like these serve the important purpose of making it simpler for your system to keep track of where everything is. In other words, having consistent cluster size reduces the overhead of your file system. The downside of this is what we call slack space. In this case, if a file isn't an exact multiple of four kilobytes in size, you're going to have some wasted space, or slack. You can see this very easily with small Microsoft Word documents, many of which take up 16 kilobytes on your disk, even though the real size might be a few kilobytes less. A few kilobytes of wasted space here and there might not seem like that big a deal. But given how many small files are on the typical SSD, it really starts to add up. Not to mention that many of these small files are system files that Windows needs to run, so it's not like you can just get rid of them. But the good news here is that slack space is unlikely to have a massive effect on your drive unless you are really hurting for those last two megabytes. And that four kilobytes is a relatively small cluster size compared to other file systems, such as one commonly found on USB flash drives. But with flash drives being smaller than the typical SSD, why the heck do they have bigger cluster sizes and more wasted space? Although flash drives can use a variety of file systems, really any file system, XFAT is popular among modern devices. Despite it having a name that makes it sound more like the next trendy diet. Unlike NTFS, XFAT has clusters of between 32 and 128 kilobytes. Although you might immediately think that that would result in more slack space, and you would be right, there are some real benefits to arranging the files this way. Like other file systems, XFAT has to keep track of which clusters are free and which are used. And this information also takes up space on the drive. So fewer, larger clusters means a smaller cluster record. As far as the concern about more slack space, it's less of a space hog if you only have a relatively small number of large files, which is exactly what many kinds of flash drives are used for, such as the SD cards and cameras that store high resolution images. XFAT also differs from NTFS in that it doesn't keep a journal. Basically, that's a log of changes that helps the file system recover in the event of a crash. Journaling takes up precious space, XFAT doesn't bother with it. Instead, XFAT uses large clusters so that if there's some kind of unexpected failure, such as yanking the drive out of the USB port while it's busy, chances are a smaller number of clusters overall will be affected. I guess the moral of today's story is that, no, the computer storage industry isn't out to rip you off in the way that you think it is, though I still wouldn't blow 40 bucks on an SSD water block. I can't believe those exist. Thanks for watching guys, like, dislike, check out some of our other videos, comment with video suggestions down below and don't forget to subscribe and follow."}