I've recently become very interested in IT. I have already visited a Bundeswehr IT camp.
Since then I have quite a bit of knowledge in the IT sector.
Now to my question.
I installed an SSD in my laptop.
I have specially set a defragmentation that it defragments 3 times a day. I've been doing this for a year now.
a buddy of mine recently arrived (who doesn't have much knowledge of IT) and said that it wasn't good. It's stupid defragmenting is always good
Well now we have bet 100 euro who is right. I was very sure about it because of xD
Can someone confirm me so that I win.
Your buddy is right. https://www.heise.de/...nevorteile
Yes, quite honestly, Heise is not exactly serious, is it? You can't believe everything on the Internet
I know it regardless of heise (or the tens of thousands of other sources that could also be googled) because I've been working in the IT industry for a few years. So you can already pay your buddy the 100 euro, betting debts are honor debts.
Your buddy has more of a clue than you. I guess a lot too.
Since you're already talking about it, hopefully you should know what against and why defragmentation helps.
That data lies nicely one behind the other and can be read quickly, instead of having to be scattered across the disk (fewer searches. Yes, it is in a list, but still costs time)
The principle makes sense on an HDD that has to move physically into position to read the correct data.
An SSD generally reads directly, there are memory cells, there's nothing that takes a long time to read data.
Defragmenting an SSD is actually not very good.
This generates (unnecessarily) more write processes.
The memory cells have a maximum, after that they are broken.
Whether you will ever reach that limit. Well. You have to write a lot.
But the computer also has to work, etc. It is unnecessary.
Especially. 3 times a day? What?
As if you were writing, deleting and confusing so much data every 1/3 day that it would make sense.
Heise is quite serious.
Since then I have quite a bit of knowledge in the IT sector.
Obviously not…
I have specially set a defragmentation that it defragments 3 times a day. I've been doing this for a year now.
Then it is almost a miracle that the SSD is still working. OK
Can someone confirm me so that I win.
You would have to ask someone who, professionally and privately, does nothing but lie until the bars not only bend but also disintegrate at the subatomic level.
Well little data is already moving there. I program a lot of my own game with scratch.
Do 4 times a day
As an addendum:
So far I have only come across one scenario in which it actually makes sense to defragment a flash memory (SSD, USB stick, etc.) at least partially, but I would simply assume that this is not the case with you ( moreover, this defragmentation would make sense once, not more than once a day or more than once).
The scenario is as follows:
There's a 1: 1 image of another data carrier on the data carrier (no special metadata or similar, just a byte-by-byte copy).
This image should be presented by the boot loader (e.g. GRUB, at which time I used a fork called BURG) to the system as a real hard drive (or similar) and an operating system should be booted from this image if necessary.
The image should behave exactly as if it were a physical data carrier, i.e. Including read and write access.
So that the whole thing works, it is imperative that the data of the image are all in one piece (do not ask for details, I do not know exactly why ^^).
P.S.: But the whole thing was just a handicraft, which I tossed about 8-10 years ago as a test, was simply not really useful.
Do 4 times a day
Then it doesn't take long until the part is over…
P.S.: I just noticed: Does the "ace" in your name refer to the playing card (possibly also metaphorically) or rather to the English word with the same name? (Somehow I would tap the latter. ^^)
I did the whole thing with ESXi 6. Actually, such things only exist with servers or virtualization…
Even on an HDD this is absolutely too much. The wear then also faster.
Once a week. Absolutely sufficient per month
Well, as I said, it was a handicraft. The original plan or idea was a multiboot stick with multiple operating systems but only one partition. (Not recommended, even if you have a large pack of ibuprofen and two barrels of rum ready. ^^)
But it worked. And completely without virtualization or the like.
PS: Nowadays I would do such a handicraft completely differently: Linux systems with adapted / modified initramfs to mount the image in question and to manage it as such instead of squeezing the whole thing out on Deibel before loading the kernel somewhere.
I do that myself often, for example Windows PE and Linux on one stick. I find it a little funny because my server boots using a similar method. I also have several ISO images on his start stick (yes, servers use USB sticks to start!).
https://www.pendrivelinux.com/yumi-multiboot-usb-creator/
With this tool you can even do it without tinkering! I discovered the tool in 2018 when I was fiddling with USB boot and everything.