casperse

Members
  • Posts

    800
  • Joined

  • Last visited

Everything posted by casperse

  1. I did notice a big improvement in speed (Fast NVMe!) having Plex metadata and thousands of covers scrolling through a media library I have a near instant load - I also like the animation of scrolling through e media file (Generated for each media file if you have it enabled - hundred of Gigs). I can recommend buying the biggest NVMe you can afford - I went through 3 increasing the size (Would do it again if it was possible! but 2TB is max today) @mgutt is correct I have now have placed the following on my NVMe cache drive: appdata domains and the /mnt/cache/system/docker/docker.img Works great!
  2. Anyone who can explain above situation? what would happen, is this the drawback of getting"overflow" from cache to array if you use static /cache/ path?
  3. Hi Everyone I needed more NIC's and until I get 10gbe card I wanted to use one more 4xNIC intel card! Have I configured this wrong? My cards: The 4 from the "Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01)" works fine! But only the first two of the: "Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)" works? I have created the Stub like this: It's like the last 2 NIC's are deactivated? I can see a short connection flash orange but no green activity led? It's almost like I only have half of the card? - Could this be some PCi Express limitation of my MB? Shared lanes? or did I just configure this wrong? "8086:10e8,8086:1521"
  4. And no changes I "could" have done will make any difference to how its used in Unraid (Yes did the above changes, so maybee reset it to default values)
  5. So I need to do nothing...? Wouldn't it just be the right thing to do? (Setting boot : Disabled skipping this every time I reboot the server) And is hoot-swap working if I don't set the "removable media support" to YES? And do I get all the drives listed during boot if I don't set any info Sorry I was just sure I did something on the old controller?
  6. Hi All PLEASE HELP!!! I now have the opportunity to borrow a LSI SAS9305-24i card (JUST FOR TESTING) and replace it with my LSI Logic SAS 9201-16i (I currently use this 16i + 8 x sata on the MB cabled to = 2 x Mini-SAS 36 Pin SFF-8087 on the back plane) So this should have native IT mode (As standard) and be able to replace the existing SATA ports currently used on my MB (8 x sata) But I had to see if the Firmware was updated and looks like it is... BUT I can not remember if I need to change anything else in the config tool? I was looking to remove any boot options to drives? - Unraid don't need this (Just a bunch of drives) - BIOS is just access to the Bios of the card right? Also there was some options to display during boot of the drives.... And do I have to set "Removeable Media Support" to get Hot Swap functionality of my drives like I have today? Sorry this is so long time I tinkered with a LSI card (They just work!)
  7. UPS! Thanks @trurlfor reminding me! - Just checked and after my last server migration I forgot I changed it back so it was set to 4 hours! So back to 1 hour now (Which I think is the default value)
  8. I just have "Use default" I think that's 1 hour, so should be plenty
  9. Since this only monitor the Plex service I think its ok to spin-up all drives up for a person accessing the system (Its a VIP service ) I was wondering what the timeout of this "Spin-up state" was? Since I can see accessing the Plex service and any library folder in Plex will draws +10% CPU every time! Even just accessing my Tautulli app on my iphone would push the script to activate wich is ok and by design! But what happens after you have accessed the library and you start to scroll through titles (They are all on the cache and loads to the browser cache) so the %CPU would go down again - how long time using "browsing titles" before it would spin down again? I use your test script to monitor activity of the script (4%): while true; do plex_cpu_load=$(docker stats --no-stream | grep -i plex | awk '{sub(/%/, "");print $3}') echo $plex_cpu_load if awk 'BEGIN {exit !('$plex_cpu_load' > 4)}'; then echo "Container's CPU load exceeded threshold" fi done It's a great way to see how and when it triggers
  10. Finally - Thanks for all your help! - I think it's finally where I can use this script without spinning my drives up 24/7 But maybe I should make it around 4-5% - I still get some spikes after 3 min: 3.71 - Container's CPU load exceeded threshold And I think Plex activity of any user going into any media library will go way above 4%...even 10% in my testing Could be interesting to see if this actual have any noticeable impact on my electric bill since all 22 drives (Not including the 2 x parity drives) would be spin up during any playback of any movie. I actually did the separate UAD drive for frequent access in order not to do spin ups but that was 24/7 I think this is reasonable trade off... Thanks again Shouldn't it keep them spinning 2-3min between getting threshold again? keeping the drives spin-up?
  11. WOw = 3 min! Script Starting Oct 24, 2020 11:59.04 Full logs for this script are available at /tmp/user.scripts/tmpScripts/Plex Preloader v0.9/log.txt Available RAM in Bytes: 11931406300 Amount of Videos that can be preloaded: 195 ....*.mkv*.srt tr: write error: Broken pipe tr: write error cut: write error: Broken pipe Script Finished Oct 24, 2020 12:02.09 Would like to do a test of the impact doing this but struggling how to do accomplish it? Needs to be "remote" for transcoding to kick in, how did you go about this during your dev/testing? Also some people have "remote transcode settings" fixed, would they overrule this? like 720P 4Mb/s and make the Preloader obsolete? Sorry for the many Q's again great work! your work in so many ways are really moving the "Media tweak" post forward!
  12. Oh yes Stuff happens especially when we like us - go and do special tweaks (Stuff also happened for me, but the backup script from @mgutt is great and I use that for both emby and Plex (Appdata is huge! incremental backup is great) and of course the VM/Docker backup apps from the Unraid app community) This issue got me thinking, what would happen if you have the appdata folder as: And you have all your Appdata path in the docker changed to /cache/ But you do have the global share settings set: And you have a overflow of Plex metadata to appdata? (Prefer setting!) Would it write to the array? The path from the docker would only see the cache drive, so new data would not be available? How would this work? (Don't really want to test this in practice ) Sorry if this is a stupid Q...
  13. Yes I pretty much have /Cache/ written everywhere now :-) Funny I said that it looked like a heartbeat didn't know there actually was one! (I will disable it when there is no traffic and test again) Thanks!
  14. Maybe it's not the size of the srt files but the fact that they are located across 24 drives? Anyway your code is solid my server doesn't crash and it still run perfectly! just take some time LOL (I kept it at default 50%)
  15. All of the srt files? for Movies & TV shows?! WOAW I have a average of 3-4 srt files (Nordic TV sometime also german close to DK - for each TV show and most movies) how does it have enough space left for loading the right subtitles? Just did a count on TV shows alone and I have around +40K srt files - so now I understand why it did run "forever" Average srt file is 30-45K = 1G Ram (TV only)
  16. So I did the change to all appdata path to /cache/ (If I ever update my cache drive I need to remember to change this back before moving it back to the array! LOL) I then started to shutdown every docker! and every VM down! so only Plex docker was left running: And I keep getting these Bump as a heartbeat? So only thing left is Unraid Apps (Can not stop them, but I can start to uninstall them?) Or its the Plex inc Docker? that somehow are different than the others? (I could try another one?) Almost given up now! :-)
  17. I got this one: Samsung SSD 970 EVO Plus 2TB the fastest I could get around a year ago! (Plex poster scroll loading ) So this should help I/O wait
  18. I see what you mean! I only went into the dockers of Plex/Emby and changed the path to /cache/ I should do that for all of the running dockers /appdata/ path! I come back and report my findings when that's done
  19. Hmm yes I do have allot of things running on the server! But I did manage to get individual Sleep of drives working by having separate UAD for download and other things (There is a nice FAQ about this setup in the forum) - and things I don't want to have on the array And yes I have allot of apps running 24/7 I think the cache is the problem! Plex and all appdata is located on the CACHE drive NVME drive and its the same drive that is used as cache creating the high I/O? So I cant use Plex %CPU because everything is on my cache drive - But I still experience "slow" playback from Plex at strange hours because the other disk is in sleep state - I would need to find another trigger, to bad you cant set Plex user web activity = Spin-up 🙂
  20. Version 0.8 did something with the srt files it keeps adding srt files forever - without any TV show clip, maybee the size is under the limit?
  21. Hi mgutt Just wanted to let you know that I just tried your script, and I think its working 100% Logfile: Preload /mnt/user/movies/Movies/Friends with Kids (2012)/Friends with Kids (2012) [Bluray.720p.x264.8Bit.DTS.5.1].mkv (6.835s) Preload /mnt/user/movies/Movies/Transylvania 6-5000 (1985)/Transylvania 6-5000 (1985) [Bluray.720p.x264.8Bit.DTS.2.0].mkv (0.337s) Script Starting Oct 21, 2020 20:20.51 Full logs for this script are available at /tmp/user.scripts/tmpScripts/Plex Preloader v0.7/log.txt Script Finished Oct 21, 2020 20:20.51 Update: Did a test added "TV Shows" and I could see srt files being loaded (Running Unraid 6.8.3) So how to get 1TB of memory!!! LOL Great work, you have really made a big impact on my Plex server!
  22. I use the Plex inc Docker moved away from the other ones, maybe it's different? Had it running across all tree trying to catch it
  23. So I did run both script at the same time: But below I don't see the CPU go above 1% Not a single time! This is really strange
  24. I think I found the solution you have to add "ata-" then it works <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/disk/by-id/ata-ST10000NE0004-1ZF101_ZA21DG4A'/> <target dev='hdd' bus='sata'/> <address type='drive' controller='1' bus='0' target='0' unit='3'/> </disk>