09-05-2016, 04:43 PM
How can I defrag on this OS?
Defrag
|
09-05-2016, 04:43 PM
How can I defrag on this OS?
09-05-2016, 06:16 PM
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: sudo e4defrag -c / To check & defrag /home Code: sudo e4defrag -c /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)
09-05-2016, 06:20 PM
Got an SSD?
Forget it for your own good.
Terry Davis Command Line video cracks me up.
Quod delere vos ego faciam permanens.
09-05-2016, 07:05 PM
@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)
09-06-2016, 11:14 AM
(09-05-2016, 06:16 PM)Wirezfree link Wrote: 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... 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.
09-06-2016, 12:30 PM
There is just one correct answer to:
(09-05-2016, 04:43 PM)then00b link Wrote: How can I defrag on this OS? Namely: "But why?" Now we know: (09-06-2016, 11:14 AM)then00b link Wrote: 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.
09-06-2016, 01:08 PM
Agree with richtea, no point in defragging in linux, but if it gives you peace of mind then go for it.
Sent from my Nexus 6 using Tapatalk
09-06-2016, 02:03 PM
Just my plugged nickle and to maybe add help to then00b....
Defragging was the go to for Windows for PC slowness, usually; clear temps, cache, disk clean up and defrag... You can also use "Lite Tweaks" to clean up/maintain the system similarly to disk clean up.. Anything marked safe is a no brainer; those marked caution are more so for specific fixes for problems so be mindful when selecting. For slowness, maybe adding a bit more info; when are you noticing the slow down.. browsing, working with "XX" application or in general = boot up etc.. Along with system specs or the output of Code: inxi -F
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200) LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express -- Shelved BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server Running Linux Lite since LL2.2 (09-06-2016, 02:03 PM)firenice03 link Wrote: Just my plugged nickle and to maybe add help to then00b.... I've tried defrag already. Still the same, still lag. Here's the specs: System: Host: linuxlite-Aspire-5560 Kernel: 4.4.0-36-generic x86_64 (64 bit) Desktop: Xfce 4.12.3 Distro: Ubuntu 16.04 xenial Machine: System: Acer (portable) product: Aspire 5560 v: 0.1 Mobo: Acer model: Aspire 5560 v: A11 Bios: Phoenix v: V1.15 date: 12/05/2011 CPU: Quad core AMD A6-3420M APU with Radeon HD Graphics (-MCP-) cache: 4096 KB clock speeds: max: 1500 MHz 1: 1200 MHz 2: 1200 MHz 3: 1400 MHz 4: 900 MHz Graphics: Card: Advanced Micro Devices [AMD/ATI] BeaverCreek [Radeon HD 6520G] Display Server: X.Org 1.18.3 drivers: ati,radeon (unloaded: fbdev,vesa) Resolution: [email protected] GLX Renderer: Gallium 0.4 on AMD SUMO (DRM 2.43.0, LLVM 3.8.0) GLX Version: 3.0 Mesa 11.2.0 Audio: Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller driver: snd_hda_intel Card-2 Advanced Micro Devices [AMD/ATI] BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series] driver: snd_hda_intel Sound: Advanced Linux Sound Architecture v: k4.4.0-36-generic Network: Card-1: Broadcom NetLink BCM57785 Gigabit Ethernet PCIe driver: tg3 IF: p4p1 state: down Card-2: Broadcom BCM43227 802.11b/g/n driver: wl IF: wlp2s0 state: up Drives: HDD Total Size: 500.1GB (3.7% used) ID-1: /dev/sda model: Hitachi_HTS54505 size: 500.1GB Partition: ID-1: / size: 455G used: 14G (4%) fs: ext4 dev: /dev/sda1 ID-2: swap-1 size: 3.73GB used: 0.01GB (0%) fs: swap dev: /dev/sda5 RAID: No RAID devices: /proc/mdstat, md_mod kernel module present Sensors: System Temperatures: cpu: 50.2C mobo: 43.0C gpu: 51.0 Fan Speeds (in rpm): cpu: N/A Info: Processes: 207 Uptime: 4:21 Memory: 1723.5/3422.1MB Client: Shell (bash) inxi: 2.2.35 http://askubuntu.com/questions/515126/ho...h-less-lag I've tried searching for solutions and I found this. What do you think?
09-06-2016, 04:49 PM
Your specs aren't that bad. You'd be better off upgrading to a cheap SSD. Your hard drive is pretty low spec.
Sent from my Nexus 6 using Tapatalk |
« Next Oldest | Next Newest »
|