|
Streaming music from cloud storage
|
|
07-12-2023, 19:34
(This post was last modified: 07-12-2023 19:39 by GrumpyPatzer.)
Post: #7
|
|||
|
|||
|
RE: Streaming music from cloud storage
With apologies for having taken so long to reply ....
I finally found time to install rclone and MinimServer on my new Pi, and have tried playing some music using the copy of my collection that I have uploaded to MS OneDrive. In summary: so far, it seems to work fine! See further comments below. (30-11-2023 11:07)simoncn Wrote:(29-11-2023 21:19)GrumpyPatzer Wrote: 1. In both cases (command line test and MinimServer scan), it is typically taking between 200 and 350ms for each file operation, usually over 250ms but occasionally spiking to over 500ms. Unsurprisingly, the bulk of that time is that wait between the read(s) and the data being returned. Correct. I have now done a complete scan of my collection (just over 25,000 FLAC files) from the Pi. I did not do any precise measurements, but it seemed to be somewhat slower, closer to 2 files/sec. That may be because the combination of the standard version of rclone (which is what I am using to effect a local mount of the OneDrive storage) and the LINUX filesystem does not offer the ability to use the two parameters that I was able to use on MacOS, namely (a) disabling the updating of file access time; and (b) specifying r/w size. So it's possible that, with a bit of faffing about, I could improve the performance -- but, having now done the scan, I've no real reason to do so. (30-11-2023 11:07)simoncn Wrote:(29-11-2023 21:19)GrumpyPatzer Wrote: 3. For each file, there are 16 individual read operations of 32kB each, so 512kB is being returned. (Based on what you say, it seems pretty likely that MinimServer is not asking for that much data. And the ‘head’ command only needs 32kB.) It happened for both. Which reinforces my view that this may well be file system behaviour. (30-11-2023 11:07)simoncn Wrote:(29-11-2023 21:19)GrumpyPatzer Wrote: So it seems that — for both the ten ‘head’ commands and the MinimServer scan — a minimum of 512kB is being obtained, even though this *may* be more than is being requested. Exactly. It's quite possible that there is no real mileage in spending too much more time on this -- particularly give that, for me at least, it's working quite satisfactorily. (30-11-2023 11:07)simoncn Wrote:(29-11-2023 21:19)GrumpyPatzer Wrote: Unless I can think of (or you can suggest) something else to try, I’ll probably leave it there, at least for now. When I get time to set up my new Pi (which has just arrived), I’ll set it up with MinimServer and rclone and will try playing music stored in OneDrive over a longer period of time. I suppose it’s possible that, if the 512kB is indeed a Mac OS characteristic, we may observe different behaviour with Raspbian or Ubuntu on a Pi. So, as noted above, the scan performance on the Pi seems somewhat worse, but it's really not a big problem. It seems to me rather nice to be able to play music from my collection held on cloud storage using something as simply as a Pi, with no NAS fan or spinning disk involved! Andrew |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Streaming music from cloud storage - GrumpyPatzer - 25-11-2023, 17:47
RE: Streaming music from cloud storage - simoncn - 25-11-2023, 18:44
RE: Streaming music from cloud storage - GrumpyPatzer - 26-11-2023, 19:16
RE: Streaming music from cloud storage - simoncn - 27-11-2023, 13:54
RE: Streaming music from cloud storage - GrumpyPatzer - 29-11-2023, 21:19
RE: Streaming music from cloud storage - simoncn - 30-11-2023, 11:07
RE: Streaming music from cloud storage - GrumpyPatzer - 07-12-2023 19:34
RE: Streaming music from cloud storage - simoncn - 08-12-2023, 12:25
RE: Streaming music from cloud storage - GrumpyPatzer - 08-12-2023, 21:05
RE: Streaming music from cloud storage - simoncn - 08-12-2023, 23:42
RE: Streaming music from cloud storage - caraton - 16-06-2025, 15:05
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



