this post was submitted on 24 Nov 2023
2 points (100.0% liked)

Self-Hosted Main

511 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Hi everyone!
Just got into self hosting my media, by making a media server using a laptop and plex.
I am wondering, on the laptop I am using Ubuntu server, and I made it so that I can close the screen without it turning off.

Now my questions:

  1. I turn the laptop(server) off at night, but it's running all day, should I keep it plugged into the wall, or not? And if I am leaving my house, should I plug it out and keep it running?
  2. I don't have much storage on the laptop rn, 210gb, but since I use it only for 16bit 44kHz music, so far it'll do, but I am wondering, would it be fine to run my external hard drive (My Passport by WD) pretty much all day over USB 3.0, would it work well, and would it be safe for the external drive?
  3. Since I am turning off the server at night, how much worse would it be just running it 24/7?
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 11 months ago

Laptops tend to be energy efficient. Generally speaking the energy savings are not that great with it being turned off. You can check the power brick specifications. Take the watttage of the brick and multiply it by 8 (or however long you plan to keep it off during the night). Now divide that by 1000 and multiply by your electricity price (generally it's given out by kWh so if it's different where you live adjust the numbers accordingly). That's how much money you save per night

For example where I live from one of the providers the cost is 0.227 EUR/kWh (we could go down to 0.158 EUR/kWh if we use 2 timezone pricing since we only need the nighttime).

((60W × 8h) / 1000) × 0.227 EUR/kWh = 0.10896 EUR

So each day I turn off a 60W brick off for the night the maximum savings is ~11 cents or ~39 EUR per year. So that would answer your question of is it worth it. There is no real damage to the device for being plugged in 24/7. The battery may degrade, but at this stage battery capacity is irrelevant.

As for storage, external storage via USB is not going to be as fast, but in this case I doubt it will matter much, any peformance loss is likely to be negligable, though I can't be 100% certain. Try it out, worst case replace the internal drive later down the line if performance is an issue, though make sure that it's the I/O that is hampering performance and not let's say CPU or memory.