LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Thunar populates slow (https://www.linuxquestions.org/questions/linux-desktop-74/thunar-populates-slow-4175659043/)

Crippled 08-12-2019 08:51 PM

Thunar populates slow
 
Sorry for the long story but I want to give you as much information to see if this can be corrected or improved. I am curious if it's possible to get Thunar to populate files quicker. In the past when I first opened Thunar the files populated fairly quickly. I was was using MX Linux running a RAID 10 as two partitions because it couldn't format the 4 GB RAID 10 in one partition. The RAID 10 I have consists of four 2 GB 7200 HDD. Since then I tried different distros and have settled into Linux mint 19.2 Xfce (64-bit) which was able to format the 4 GB RAID 10 as one partition. When I open Thunar for the first time after a boot or reboot, Thunar opens quickly but it takes the files to populate from about 2 minutes to about 5 minutes on anything that has 600+ files. When I open Thunar after that it populates quickly. I have added these files from a back up on an external 4 TB HDD but I noticed file permission being mixed being that they were copied from a previous distro that the application that I installed from SourceForge that turned out to be Malware which is called Stacer changed file permissions without prior knowledge. I don't have Stacer on this distro and was able to correct all the file permissions except for one. Where it says Owner: it says "Mixed file owners", instead of root (root). Is there a way to speed up Thunar so it will populate files quicker? How do I change file permissions from "Mixed file owners" to "root (root)? If you require more information, please let me know and also what commands since I am command line illiterate. This is my system from a saved command.
Code:

$ inxi -F
System:
  Host: xxxxxx Kernel: 5.0.0-23-generic x86_64 bits: 64 Desktop: Xfce 4.12.3
  Distro: Linux Mint 19.2 Tina
Machine:
  Type: Desktop Mobo: ASUSTeK model: TUF X470-PLUS GAMING v: Rev X.0x
  serial: <root required> UEFI: American Megatrends v: 4207 date: 12/08/2018
CPU:
  Topology: 8-Core model: AMD Ryzen 7 1700 bits: 64 type: MT MCP
  L2 cache: 4096 KiB
  Speed: 1543 MHz min/max: 1550/3000 MHz Core speeds (MHz): 1: 1543 2: 1541
  3: 1587 4: 1524 5: 1777 6: 1804 7: 1518 8: 1542 9: 2640 10: 1596 11: 1542
  12: 1526 13: 1553 14: 1599 15: 1515 16: 1519
Graphics:
  Device-1: AMD Cedar [Radeon HD 5000/6000/7350/8350 Series] driver: radeon
  v: kernel
  Display: x11 server: X.Org 1.19.6 driver: ati,radeon
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz
  OpenGL: renderer: AMD CEDAR (DRM 2.50.0 / 5.0.0-23-generic LLVM 8.0.0)
  v: 3.3 Mesa 19.0.2
Audio:
  Device-1: AMD Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]
  driver: snd_hda_intel
  Device-2: AMD Family 17h HD Audio driver: snd_hda_intel
  Sound Server: ALSA v: k5.0.0-23-generic
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  driver: r8169
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: 0c:9d:92:11:18:9b
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Drives:
  Local Storage: total: 3.64 TiB used: 5.22 TiB (143.4%)
  ID-1: /dev/sdb vendor: Marvell model: Raid VD size: 3.64 TiB
Partition:
  ID-1: / size: 3.56 TiB used: 2.61 TiB (73.4%) fs: ext4 dev: /dev/dm-1
  ID-2: /boot size: 704.5 MiB used: 664.8 MiB (94.4%) fs: ext4
  dev: /dev/sdb2
  ID-3: swap-1 size: 23.93 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-3
Sensors:
  System Temperatures: cpu: 29.8 C mobo: N/A gpu: radeon temp: 44 C
  Fan Speeds (RPM): cpu: 0
Info:
  Processes: 343 Uptime: 7h 14m Memory: 23.53 GiB used: 2.37 GiB (10.1%)
  Shell: bash inxi: 3.0.32


coralfang 08-18-2019 09:58 AM

Quote:

How do I change file permissions from "Mixed file owners" to "root (root)?
I'm not sure what the problem is as for Thunar, but you can set permissions in bulk using `chown`

eg; make sure you're in the drives correct directory, then;

Code:

sudo chown -R root:root *
-R will recursively make it enter any other directories within and alter permissions in those too.


Quote:

I have added these files from a back up on an external 4 TB HDD
It could be an issue of read speeds. Two things i can think of checking, is the drive USB3 capable? Make sure it's connected to a USB3 port, which would improve read speeds.

It could also be the filesystem itself, choking on the large number of files, what filesystem is it using?

This will tell you;
Code:

lsblk -f

Crippled 08-18-2019 11:13 AM

Quote:

Originally Posted by coralfang (Post 6026469)

It could be an issue of read speeds. Two things i can think of checking, is the drive USB3 capable? Make sure it's connected to a USB3 port, which would improve read speeds.

It could also be the filesystem itself, choking on the large number of files, what filesystem is it using?

This will tell you;
Code:

lsblk -f

You misunderstood me. I am not referring to the external HDD. I am referring to the internal RAID 10 drive that I am using ext4 file system on it. I have 1TB free on that 4TB RAID 10 drive.
Code:

lsblk -f
NAME              FSTYPE LABEL UUID                                  MOUNTPOINT
sda                                                                 
├─sda1            vfat        C122-C283                              /boot/efi
├─sda2            ext4        0bab97cb-92f7-475e-ae2f-a955502e8f11  /boot
└─sda3            crypto      41ea3263-200c-4696-8cd2-56265595171e 
  └─sdb3_crypt    LVM2_m      v4H8Kz-4QV3-L18w-dDgO-I9Cz-awuk-EVConK
    ├─mint--vg-root
    │            ext4        da1fae0a-2400-4019-96b3-2f916c45cd54  /
    └─mint--vg-swap_1
                  swap        1a3fa8cd-b264-47c1-a801-376f85975516 
      └─cryptswap1
                  swap        beb3a89a-f60a-4715-bf5f-01d4d4d93fe8  [SWAP]
sr0


ondoho 08-19-2019 02:47 AM

Thunar has been known to slow down with
  • thumbnails
  • network drives
- maybe also RAID???

Have you tried
  • disabling thumbnails
  • another file manager
???

Crippled 08-23-2019 12:17 PM

I found the problem is Linux mint. I replaced it with SparkyLinux which corrected the problem.


All times are GMT -5. The time now is 12:07 AM.