You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Defrag

Author (Read 14628 times)

0 Members and 1 Guest are viewing this topic.

Re: Defrag
« Reply #6 on: September 06, 2016, 08:30:46 AM »
 

richtea

  • Occasional Poster
  • **
  • 57
    Posts
  • Reputation: 5
  • Linux Lite Member
    • View Profile

  • CPU: E3815 @ 1.46 GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Atom Z36xxx/Z37xxx Series
There is just one correct answer to:

How can I defrag on this OS?

Namely: "But why?"

Now we know:

I want to defrag it coz my laptop is getting slower, I don't have a lot of files. So, I'm hoping it could solve the problem. :)

Not a lot of files, so why fragmentation in particular should be the cause of a slowdown? It is more like trying to take a pot shot at the issue.

On Linux, generally, defragging is an exercise in futility. There are just two scenarios when it might have an effect:

1. Massive databases that are continuously amended.
2. HD packed to the gills with stuff.

Having used Linux OSs for some 15 years now, I have never, ever had to defrag. Frankly, I do not think there is much dissenting opinion on that.
Terry Davis Command Line video cracks me up.
Quod delere vos ego faciam permanens.
 

Re: Defrag
« Reply #5 on: September 06, 2016, 07:14:33 AM »
 

then00b

  • Occasional Poster
  • **
  • 89
    Posts
  • Reputation: 3
  • Linux Lite Member
    • View Profile
There are varying opinions on the need to defrag Linux in normal desktop day to day usage, and only required for heavy duty servers/databases etc...

But to Check & Defrag your root /
Code: [Select]
sudo e4defrag -c /
sudo e4defrag -v /

To check & defrag /home
Code: [Select]
sudo e4defrag -c /home
sudo e4defrag -v /home


More details on e4defrag

Hey man! Thanks! The reason I want to defrag it coz my laptop is getting slower, I don't have a lot of files. So, I'm hoping it could solve the problem. :)
 

Re: Defrag
« Reply #4 on: September 05, 2016, 03:05:47 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
@richtea

You raise a good point, however:
1. Read/Write issues with the current(new) generation of technology removes this issue.
   SSD are widely used now in data centres without issues where read/writes are many, many magnitudes greater than home users

2. Also the regular disks/spinners read/write sequentially, hence the need to keep everything aligned by defraging
   SSD's work completely different, they have controllers that work with the random data placement, so defraging is less of an issue.
 
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Defrag
« Reply #3 on: September 05, 2016, 02:20:25 PM »
 

richtea

  • Occasional Poster
  • **
  • 57
    Posts
  • Reputation: 5
  • Linux Lite Member
    • View Profile

  • CPU: E3815 @ 1.46 GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Atom Z36xxx/Z37xxx Series
Got an SSD?
Forget it for your own good.
Terry Davis Command Line video cracks me up.
Quod delere vos ego faciam permanens.
 

Re: Defrag
« Reply #2 on: September 05, 2016, 02:16:07 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
There are varying opinions on the need to defrag Linux in normal desktop day to day usage, and only required for heavy duty servers/databases etc...

But to Check & Defrag your root /
Code: [Select]
sudo e4defrag -c /
sudo e4defrag -v /

To check & defrag /home
Code: [Select]
sudo e4defrag -c /home
sudo e4defrag -v /home


More details on e4defrag
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Defrag
« Reply #1 on: September 05, 2016, 12:43:44 PM »
 

then00b

  • Occasional Poster
  • **
  • 89
    Posts
  • Reputation: 3
  • Linux Lite Member
    • View Profile
How can I defrag on this OS?
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section