Welcome Guest ( Log In | Register )

4 Pages V « < 2 3 4  
Reply to this topicStart new topic
> Raspberry Pi, Low power server

 
post Jan 10 2021, 05:15
Post #61
Based Brandon



MCMXXIX
****
Group: Catgirl Camarilla
Posts: 297
Joined: 11-April 13
Level 441 (Godslayer)


Ok I think I discovered my Pi 4's upper limit now.
9600 KB/s +1000 10000 161.6 / min
4B 8G@2Ghz 400G External USB 3.0 SSD space allocated for cache

It was running fine yesterday and even averaging about 3000 KBps for like an hour+. (Around 30-60 connections.) But today it was hit with around 50-70 new connections in a short span and now its in a bit of a death spiral. The CPU is now pinned at full, requests takes dozens of seconds to serve instead of <1s... The connection count is at 160-230 and not going down. I am using the download archive feature also, probably shouldn't have done it today. Maybe could have saved it..

(IMG:[i.imgur.com] http://i.imgur.com/ItCCNV7.png)

(IMG:[i.imgur.com] http://i.imgur.com/ykYZVZ5.png)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 11 2021, 14:36
Post #62
sumosai



Newcomer
**
Group: Members
Posts: 52
Joined: 8-December 20


nice, love the idea
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jan 25 2021, 23:23
Post #63
Based Brandon



MCMXXIX
****
Group: Catgirl Camarilla
Posts: 297
Joined: 11-April 13
Level 441 (Godslayer)


7989 KB/s +1000 10000 172.7 / min 47.4 / day 1.03MB/s average byte sent

Been 2 more weeks since. Haven't crapped again yet. Perhaps it was just really bad luck the first time.

Might get a new SSD to expand the storage for more static range, but the 4TB ones are not on sale currently...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Feb 8 2021, 00:04
Post #64
帆風奏



Lurker
Group: Recruits
Posts: 5
Joined: 22-August 19


Raspberry Pi is a little weak, but highend arm borad is too hard to buy
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 5 2021, 23:39
Post #65
Z.G.



I'm the sukebei, for I am holding all hentai in my hands
*******
Group: Gold Star Club
Posts: 1,304
Joined: 3-December 09
Level 277 (Ascended)


Hello, what model of Raspberry Pi would you recommend?
I'm debating between getting a NAS (which can be used for others stuff) and a RPi.

Could someone share his config and maybe advices? I'm really new to RBi, ideally I'd like to connect it directly to my modem (I've got a 1 Go/s connectivity). Also what space should I get to be good, and does a SD card would be good? Thanks!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 23 2021, 14:43
Post #66
Molinxx



Newcomer
*
Group: Members
Posts: 19
Joined: 11-July 13
Level 292 (Lord)


QUOTE(Z.G. @ May 6 2021, 05:39) *

Hello, what model of Raspberry Pi would you recommend?
I'm debating between getting a NAS (which can be used for others stuff) and a RPi.

Could someone share his config and maybe advices? I'm really new to RBi, ideally I'd like to connect it directly to my modem (I've got a 1 Go/s connectivity). Also what space should I get to be good, and does a SD card would be good? Thanks!


For personal develop and learning Linux, Pi 4B is enough, Ram base on how much service you want to run.
But for the NAS, most user need real time encoding and stream, that may weak on Pi.
I built my NAS by Intel® Celeron® Processor G5900T, with 16G Ram and 8 * 4TB WD RE4.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Dec 10 2021, 19:54
Post #67
Based Brandon



MCMXXIX
****
Group: Catgirl Camarilla
Posts: 297
Joined: 11-April 13
Level 441 (Godslayer)


Did some more fiddling on my Pi for H@H.
Seems Pi4 8G is capable of using more bandwidth if the ISP allows for higher burst speed. Recently my ISP updated my network and my download and upload speed is higher AND I added a second WAN line to my router for an additional 30Mbps upload capacity.
And I also enabled BBR (google Easily Boost Ubuntu Network Performance by Enabling TCP BBR) on my Pi.
Now it can go to 6900KBps without 100% CPU and crashing. Only around 50-60% CPU utilization now.

(IMG:[imgur.com] https://imgur.com/aduQIIM.jpg)
(IMG:[imgur.com] https://imgur.com/tb5KvEk.png)

Though might be worth noting that both speedometer and my router reports higher network usage than what's reported by H@H. (I took the screenshot after just loading into the remote desktop so for most of the history the speedometer record should not include the xrdp bandwidth usage. And the router one should only include WAN1 upload so not even the uploads that got load balanced to WAN2)

UPDATE:
Let it ran for a month now I had the 2nd China Unicom WAN. It's hit rate's 455 which is about 65% of the hit rate for the Linode Japan server (1300G cache 1000Mbps+) that I pay around 200 USD a month for (including hard drive/bandwidth overages) while only having 400G cache and around 100 Mbps sustained upload speed. And the quality's pretty much pinned at 10000 (I suspect most quality drops are because of crap internet connection to Chinese users.)
The monthly cost's only 15-20W power for the Pi + 30-40 USD for the two home connection. If I get my Pi a bigger hard drive for more cache so it will use more bandwidth when its not peak time. It's hit rate might reach or surpass the Linode's. Very much worth doing if you can get your hands on a public Chinese IP for your home connection, probably the most cost effective way to get higher hit rates.
(IMG:[i.imgur.com] https://i.imgur.com/hGCFkC4.png)
(IMG:[i.imgur.com] https://i.imgur.com/LweJnBC.png)

(IMG:[i.imgur.com] https://i.imgur.com/jp2szLO.png)

So my 400G SSD Pi client overtook my 1T SSD Linode server...... Even though it's a fraction of the disk size and internet speed

This post has been edited by Based Brandon: Aug 12 2022, 08:07
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 22 2022, 04:32
Post #68
Based Brandon



MCMXXIX
****
Group: Catgirl Camarilla
Posts: 297
Joined: 11-April 13
Level 441 (Godslayer)


...Ok so some of the restart problems were probably caused by the USB SSD drive taking too much power. Figured that out after plugging in another drive and my Pi would just randomly shutdown way more frequently.
Get a powered USB hub even if you are just using a single small SSD drive. Pi's USB power supply is really bad.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


4 Pages V « < 2 3 4
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 27th November 2024 - 22:32