this post was submitted on 24 Jul 2023
8 points (90.0% liked)

Selfhosted

40211 readers
1085 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I recently acquired a second hand DS216j with 6TB (SHR1 so only 3TB is usable). I moved all my Google Photos images and videos onto it, but now when I access it through QuickConnect it loads them really slow, the videos are constantly buffering and when they load they have a messed up framerate (really jittery). I have a 500 fibre connection and the station is connected to the router through an ethernet cable. Any idea how I could possibly fix this? Thanks

top 23 comments
sorted by: hot top controversial new old
[–] shrugal@lemm.ee 3 points 1 year ago* (last edited 1 year ago) (2 children)

Afaik the J series is known to have bad performance when it comes to processing media, like creating thumbnails or transcoding videos. That's why they added the Play series at some point, as an affordable option with ok media support.

[–] CoachDom@lemmy.blahaj.zone 1 points 1 year ago

I just tested on my local network and it works perfectly fine. It's only when I'm outside.

[–] CoachDom@lemmy.blahaj.zone 1 points 1 year ago (1 children)

This one guy on reddit said:

It definitely cannot be the NAS. The NAS does not do any sort of transcoding when you play a video using the Synology Photos App. Try a lower res/bitrate video, if that plays fine, then your internet upload speed is the problem.

Is there anything to it? Is it possible that the Play series is for the Plex functionality?

[–] pete@social.cyano.at 1 points 1 year ago

There's something to that claim. Sending uncompressed (i.e. not transcoded) video content over the internet can easily saturate your internet link.
Do you have CIFS/Samba, in other words Windows Network Explorer access to the files on the NAS via your local network? If so try directly opening a video and look at the network dashboard of the NAS and/or your computers task manager (performance -> ethernet tab) to see to what mbit bandwidth the not transcoded stream amounts too.
Consider that the exact same mbit bandwidth will be needed using Synology QuickConnect to view media from outside of your local network.

If you want to work around all that you would probably have to look into something that buffers/transcodes your media, something like Jellyfin/Plex or the likes. For that you'd have to look into running Docker on the NAS but that'll plunge you into self-hosting very deep very fast and may be beyond your initial comfort zone.

[–] pete@social.cyano.at 2 points 1 year ago (2 children)

500 fibre connection means it is a 500mbit internet uplink?
Have you checked whether the ethernet cable you're connecing the DS216j to your router is a "Cat5e" cable. If it is a "Cat5" you would be limiting and thus bottlenecking your bandwidth to 100mbit max.

[–] CoachDom@lemmy.blahaj.zone 1 points 1 year ago (1 children)

I checked it - it's Cat 5e

[–] metaStatic@kbin.social 1 points 1 year ago (1 children)

Is it connected to a gigabit connection? I recently found out my WiFi router only had 10/100 ports, which didn't matter until I needed to use them

[–] CoachDom@lemmy.blahaj.zone 1 points 1 year ago (1 children)
[–] pete@social.cyano.at 1 points 1 year ago (1 children)

What model is the router? I suspect it is a router your provider equipped you with? In that case, with a 500Mb download bandwidth contract it would be really crazy of your provider to hand you a router with 100Mb ports ;-)
In either way looking up specifications of the router model will help here.

[–] CoachDom@lemmy.blahaj.zone 1 points 1 year ago (1 children)

This is what i have:

https://www.virginmedia.com/broadband/fibre/m500

I will check my Ethernet cable when I'm back from work

[–] pete@social.cyano.at 0 points 1 year ago (1 children)

M500 broadband package boasts average download speeds of 516Mbps and average upload speeds of 52Mbps

So, while viewing media from outside your local netwwork, i.e. via Synology QuickConnect, you're limited to 52mbit speed.
If you're self-hosting upload speed matters alot unfortunately. You will surely need something that buffers / transcodes your media for viewing from the internet.

[–] CoachDom@lemmy.blahaj.zone 0 points 1 year ago* (last edited 1 year ago) (1 children)

So you reckon it's my connection is bottlenecking the whole operation?

EDIT: I noticed when I'm on my home network, there is no issue with the videos being slow. So it is the connection most likely. Ergo, nothing I can improve unless I upgrade my contract?

[–] pete@social.cyano.at 1 points 1 year ago (1 children)

I would not upgrade the contract, even if you go beyond your 50mbit UPLOAD speed you won't be sure that no buffering and hence drop in streaming will happen. Note you have a "500Mb Broadband" contract but the upload is limited to 50Mb. Asymmetric bandwidth is typical for "consumer" internet you mostly consume/download - contrary to "hosting" internet uplinks which typically are symmetric and very pricey since you are typically hosting/uploading.

You need specialised software to make sure you can transmit big, uncompressed real-time data (which video basically is) over the internet. It's basically what Youtube does for its users.
It hosts arbitrary uncompressed video data you upload to it (this is your NAS - which you have now) and then displays that data to users on the web in a compressed, streaming fashion (this is what streaming software would handle - which you do not have yet).

In your scenario issues will arise, naturally.

[–] CoachDom@lemmy.blahaj.zone 1 points 1 year ago

I noticed that there is one scenario that I get good load times + video with proper framerate: laptop connected to the same network. If it's on my phone, no matter if it's the same network, 5G or external network - videos are always choppy...

[–] ScaredDuck@sopuli.xyz 1 points 1 year ago (1 children)

You say you're using QuickConnect, do you know if you're getting a direct connection to your NAS or one through QuickConnect relay service? Maybe try opening the required ports and checking again.

[–] CoachDom@lemmy.blahaj.zone 1 points 1 year ago* (last edited 1 year ago) (1 children)
[–] ScaredDuck@sopuli.xyz 2 points 1 year ago (1 children)

"Configure port forwarding" covers pretty much all of the steps. I don't think that it would be any less secure than quickconnect through a relay, but if security is a priority, then look into setting up a VPN to your network instead.

[–] CoachDom@lemmy.blahaj.zone 1 points 1 year ago (1 children)

I just checked and my router doesn't allow for DDNS so this option won't work for me unfortunately.

[–] SEND_BUTTPLUG_PICS@lemmy.world 0 points 1 year ago (1 children)

You can run a DDNS service on a machine within the network if your router doesn't have the configuration available.

[–] CoachDom@lemmy.blahaj.zone 0 points 1 year ago (1 children)

But said machine would have to run 24/7 for this to work correct?

[–] SEND_BUTTPLUG_PICS@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Not necessarily, anytime it was on it would update the ddns service with the correct IP address. As far as I'm aware, your dynamic IP doesn't change too frequently. There would be some downtime if your ISP assigned you a new dynamic IP while the machine was powered down but it would correct itself as soon as the machine came online again.

I'm not an expert but I think this is accurate.

Edit: Does Synology have a ddns app? Or is it possible to install a ddns service via the command line? It would be cool if the NAS could send the update!

[–] CoachDom@lemmy.blahaj.zone 1 points 1 year ago

I think it might be because I'm running DSM 7 and it's suggested to have 1gb of RAM when DS216j have 512mb. I think I will try to downgrade to DSM 6

load more comments
view more: next ›