I was also pretty sure its per file request, its best @ncw clarify it for us.
Will this help for mounts or only copy?
Anyone notice improvement with plex using this?
It works on mounts too.
Iam testing it atm with 1GB buffer.
Its working for you the lastest beta?
How do you check if its working?
check ram usage of rclone
iam looping this
#!/bin/bash
proc=$(pgrep -f acdcrypt:)
echo â$procâ
while pgrep -f âacdcrypt:â > /dev/null
do
result=$(ps --pid $proc -o %cpu,%mem,cmd)
echo â$resultâ;
sleep 1
clear
done
exit
If its on ram, I think I can have a problem⌠Raspberry only has 1gb RAM, but yesterday it worked fine with 100M
It works OK in my tests. How do you see it not buffering? BTW it will use a lot less memory than before!
That is a great idea, but unfortunately it doesnât work like that. Seeking will throw the buffer away and start again
The buffer is per-file and in RAM
It can be used with copy too. Copy has always had this buffer, I just applied it to mount as well and made a parameter to adjust it.
I make:
vnstat -l -i eth0 -ru
ANd I see how its downloading the video. Yesterday I saw how the speed was so high until arrive at 100M, and then it continues downloading at âstreamâ speed.
But today with the new beta it starts at âstreamâ speed from the beginning.
Another thing is yesterday I paused the video and I saw how when I continue playing, the speed was 0kbps because it âusedâ the buffer to play.
Is there any option to use some folder for buffer? Raspberry has only 1gb RAM
It will go to swap file after you are out of ram.
A relatively small buffer should make quite a difference. An HD stream shouldnât be more than 1 MB/s so a 64 MB buffer will give you a minutes buffering which should be enough to see out most network glitches.
Tomorrow I will try with smaller buffer.
What happens if you put 500M for example and you only have 10M of free ram?
I donât need buffer really, only to avoid âhighâ ping and continuos stops of stream of 1sec or 2sec to load the next frame.
I tried that test just now (useful tool vnstat!)
I saw what Iâd expect - it downloaded at 20 Mbit/s until the buffer was full, then it dropped to 3 Mbit/s.
When I paused the video I saw the rate drop to zero and resume to stream speed when it finished.
So I would say according to my tests the buffer is working
rclone will swap, which is probably undesirableâŚ
Mean! Iâm going to try this on my 4K drive and see if I can get them to stream without buffering
I just tried with 50M and it works fine. But I see that when I stop the stream, it doesnât release RAM, this was the problem with the lastest tries, I had RAM âfullâ because the doesât release.
I donât understand the sentence: ârclone will swap, which is probably undesirableâŚâ
If you dont use the - - bufer-size flag, it uses some default value or just not uses buffer?
Thanks!
16MB is default one, but I assume if you set it to 0 then it wont be used at all.
Thanks In my case is enough with 16M, I only want to avoid the continuous âloadingâ video.