Getting frustrated with local & remote buffering after new hard drives & new computer build last yea

Hey ChuckPa,

Finally got some time to play around with inotify and iperf3 tests. The inotify result was about 37962. Per another article on this subject, I changed Max user instances to 8192 and max user watches to 524288. Still returning the SLOW Query warning when running a scan.

Over the weekend I wanted to test out another computer with an Intel G4900 using the Samsung NVMe drive but it was still gave me the SLOW query warning on library scans.

Using iperf3 from my hardwired Ubuntu to hardwire Synology nas, here are the results.

Do these results look abnormal to you at all on a 1Gbps hardwired setup?

on my plex server with a regular ssd, i performed these two functions for read and write speeds

plexserver@plexserver-OptiPlex-3050:~$ dd if=tempfile of=/dev/null bs=1M count=100000 status=progress iflag=direct
15423504384 bytes (15 GB, 14 GiB) copied, 33 s, 467 MB/s 
15108+0 records in
15108+0 records out
15841886208 bytes (16 GB, 15 GiB) copied, 33.882 s, 468 MB/s
plexserver@plexserver-OptiPlex-3050:~$ dd if=/dev/zero of=tempfile bs=1M count=100000 conv=fdatasync,notrunc status=progress oflag=direct
104841871360 bytes (105 GB, 98 GiB) copied, 501 s, 209 MB/s104857600000 bytes (105 GB, 98 GiB) copied, 501.226 s, 209 MB/s

100000+0 records in
100000+0 records out
104857600000 bytes (105 GB, 98 GiB) copied, 501.271 s, 209 MB/s

Thanks again for your help

plexserver@plexserver-OptiPlex-3050:~$ iperf3 -c 192.168.1.107
Connecting to host 192.168.1.107, port 5201
[  5] local 192.168.1.51 port 59704 connected to 192.168.1.107 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   115 MBytes   964 Mbits/sec    0    488 KBytes       
[  5]   1.00-2.00   sec   111 MBytes   935 Mbits/sec    0    488 KBytes       
[  5]   2.00-3.00   sec   112 MBytes   935 Mbits/sec    0    488 KBytes       
[  5]   3.00-4.00   sec   110 MBytes   924 Mbits/sec    0    488 KBytes       
[  5]   4.00-5.00   sec   109 MBytes   915 Mbits/sec    0    488 KBytes       
[  5]   5.00-6.00   sec   113 MBytes   948 Mbits/sec    0    488 KBytes       
[  5]   6.00-7.00   sec   112 MBytes   935 Mbits/sec    0    488 KBytes       
[  5]   7.00-8.00   sec   113 MBytes   949 Mbits/sec    0    488 KBytes       
[  5]   8.00-9.00   sec   112 MBytes   941 Mbits/sec    0    546 KBytes       
[  5]   9.00-10.00  sec   111 MBytes   929 Mbits/sec    0    546 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.09 GBytes   938 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  1.09 GBytes   936 Mbits/sec                  receiver

iperf Done.
plexserver@plexserver-OptiPlex-3050:~$ iperf3 -c 192.168.1.107 -R
Connecting to host 192.168.1.107, port 5201
Reverse mode, remote host 192.168.1.107 is sending
[  5] local 192.168.1.51 port 34178 connected to 192.168.1.107 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   112 MBytes   935 Mbits/sec                  
[  5]   1.00-2.00   sec   112 MBytes   941 Mbits/sec                  
[  5]   2.00-3.00   sec   112 MBytes   942 Mbits/sec                  
[  5]   3.00-4.00   sec   112 MBytes   942 Mbits/sec                  
[  5]   4.00-5.00   sec   112 MBytes   941 Mbits/sec                  
[  5]   5.00-6.00   sec   104 MBytes   874 Mbits/sec                  
[  5]   6.00-7.00   sec   112 MBytes   942 Mbits/sec                  
[  5]   7.00-8.00   sec   112 MBytes   941 Mbits/sec                  
[  5]   8.00-9.00   sec   112 MBytes   942 Mbits/sec                  
[  5]   9.00-10.00  sec   112 MBytes   940 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.09 GBytes   935 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  1.09 GBytes   934 Mbits/sec                  receiver

Hey there,

Yea, that’s why I am at a complete loss as to why my setup is causing me issues. It’s pretty basic, 1 computer with an i7-7700T for PMS and nothing else on the latest Ubuntu. Synology Nas housing media, everything hardwired.

I looked at the BIOS and don’t notice anything weird. Power Savings options are turned off. The SSD is contacted directly to the board without any wires, it’s prebuilt system type set up.

But I test a new computer with an NVMe and that was also returning the SLOW Query errors.

All I did was change HDDs to new ones, a new stronger computer, new Ubuntu version, and updated my Synology to version 7. So one of these might be causing the issues. I have a feeling it’s the 3 shucked drives but not sure why.

@khalid7412002_yahoo.com

I don’t get it.

  1. I7-7700T ? I have a QNAP TVS-1282-i7 (w/ i7-7700) and it screams along

  2. Changing max_user_instances from 1024 to 8192 is extreme.
    — How many files are actually indexed ?
    — How many directories are actually indexed ?

  3. Your iperf3 (iperf3 and iperf3 -R ) test should look like mine except for the bitrate and the fact I’m currently beating on the network really hard, meaning you should be getting 930-950 Mbps on a 1Gbps LAN.
    – NOTE: -R checks the reverse direction.

[chuck@lizum Downloads.2016]$ iperf3 -c 192.168.0.20
Connecting to host 192.168.0.20, port 5201
[  5] local 192.168.0.13 port 43576 connected to 192.168.0.20 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  1.08 GBytes  9.27 Gbits/sec  478   1.25 MBytes       
[  5]   1.00-2.00   sec  1.09 GBytes  9.40 Gbits/sec  338    782 KBytes       
[  5]   2.00-3.00   sec  1.09 GBytes  9.38 Gbits/sec  528    792 KBytes       
[  5]   3.00-4.00   sec  1.09 GBytes  9.37 Gbits/sec   30   1.32 MBytes       
[  5]   4.00-5.00   sec  1.09 GBytes  9.37 Gbits/sec  652    806 KBytes       
[  5]   5.00-6.00   sec  1.10 GBytes  9.42 Gbits/sec    0   1.34 MBytes       
[  5]   6.00-7.00   sec  1.10 GBytes  9.42 Gbits/sec    0   1.37 MBytes       
[  5]   7.00-8.00   sec  1.09 GBytes  9.38 Gbits/sec  566    539 KBytes       
[  5]   8.00-9.00   sec  1.09 GBytes  9.41 Gbits/sec    0   1.33 MBytes       
[  5]   9.00-10.00  sec  1.10 GBytes  9.42 Gbits/sec    0   1.37 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  10.9 GBytes  9.38 Gbits/sec  2592             sender
[  5]   0.00-10.04  sec  10.9 GBytes  9.35 Gbits/sec                  receiver

iperf Done.
[chuck@lizum Downloads.2017]$ iperf3 -c 192.168.0.20 -R
Connecting to host 192.168.0.20, port 5201
Reverse mode, remote host 192.168.0.20 is sending
[  5] local 192.168.0.13 port 48594 connected to 192.168.0.20 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  1.09 GBytes  9.40 Gbits/sec                  
[  5]   1.00-2.00   sec  1.10 GBytes  9.42 Gbits/sec                  
[  5]   2.00-3.00   sec  1.10 GBytes  9.41 Gbits/sec                  
[  5]   3.00-4.00   sec  1.10 GBytes  9.41 Gbits/sec                  
[  5]   4.00-5.00   sec  1.10 GBytes  9.41 Gbits/sec                  
[  5]   5.00-6.00   sec  1.10 GBytes  9.41 Gbits/sec                  
[  5]   6.00-7.00   sec  1.10 GBytes  9.41 Gbits/sec                  
[  5]   7.00-8.00   sec  1.10 GBytes  9.41 Gbits/sec                  
[  5]   8.00-9.00   sec  1.10 GBytes  9.41 Gbits/sec                  
[  5]   9.00-10.00  sec  1.10 GBytes  9.41 Gbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.04  sec  11.0 GBytes  9.38 Gbits/sec    1             sender
[  5]   0.00-10.00  sec  11.0 GBytes  9.41 Gbits/sec                  receiver

iperf Done.
[chuck@lizum Downloads.2018]$ 
  1. I would very much like to see the PMS and DBRepair log files.

  2. DBRepair, when it runs, walks logically through the DB while checking (which is why it takes so long) then walks physical record by record when exporting and importing. The logs will show me the performance time.

  3. A little confused here. Please clarify?
    Ubuntu on the i7-7700T and what for the DSM ?

Last question:

EXACT specification and configuration for this computer please ?

I think you said Dell Optiplex-3050 ? (i5-7500 ??)

PS: And you KNOW I’m going to need to see the Server DEBUG logs ZIP file which captures what’s happening (probably during adding media or playback??? )

Hey Chuck, replaying to your questions.

  1. Computer is one of those Dell SFF Optiplex 3050 miniPC with
    —Intel Core i7-7700T
    —16GB ram
    —256GB SSD
    —running Ubuntu 24.04.1 LTS

  2. My max_user_instances was 128 before and I followed an online article that changed it to 8192. Monkey see monkey do mode as I have no idea what it even is. Just trying different things to see if anything helps.
    —In my movie folders, I have about 1,800 files and 241 folders. I have folders for movie series. In my tv shows I have about 9,000 files and 741 folders.
    — I have 6 main directories, 4K movies, 4K shows, Movies, TV Shows, Kids Movies, and a handful of other ones that only have a few items in each.

  3. My iperf3 and -R look like it is hitting 935 Mbps both ways so my NAS is getting full speed from my computer running PMS

  4. Will working on getting Logs in the next couple days and will send in our prior private message chat. The SLOW Query happens on every scan run.

  5. The DBrepair tool is fairly quick for me. I think at most it takes about 5 minutes from start to finish. Is it supposed to take much longer? I have about 55TB of data and run the auto function of the tool. I ran the tool again and it took about 2 mins from start to finish.

  6. Ubuntu 24.04.1 LTS on the PMS computer, Synology DS1815+ running DSM 7.1.1-42962 update 6

This was my prior computer running PMS for years without any buffering issues during scans. I wanted to test it out and see if im getting the same SLOW Query warnings during library scans

  1. It’s a prebuilt HP 290 with intel G4900 with 16GB ram. I added the Samsung Pro NVMe drive and freshly installed latest Ubuntu LTS. However, I imported a copy of my PMS database files from my main Dell with the i7-7700T.

This weekend I will reinstall Ubuntu on that secondary HP computer and instead of copying the PMS database from my main Dell computer, I will start the database from scratch and see if it will give the SLOW Query warning.

My knowledge on Ubuntu is basic so I don’t think I am doing anything in my setup. I install fresh Ubuntu, setup via SMB my Synology NAS and install PMS from the file i download off Plex website for Linux/Ubuntu

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.