From owner-freebsd-questions@freebsd.org Fri Nov 13 09:49:10 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1FE262D578A for ; Fri, 13 Nov 2020 09:49:10 +0000 (UTC) (envelope-from SRS0=JbHc=ET=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4CXYZs0fMzz3hQ5 for ; Fri, 13 Nov 2020 09:49:08 +0000 (UTC) (envelope-from SRS0=JbHc=ET=perdition.city=julien@bebif.be) Received: from x1 (unknown [77.109.105.242]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id E5E3C1D4FCE1; Fri, 13 Nov 2020 10:49:01 +0100 (CET) Date: Fri, 13 Nov 2020 10:48:59 +0100 From: Julien Cigar To: Christian Baer Cc: freebsd-questions@freebsd.org Subject: Re: Feedback for a small server project Message-ID: <20201113094859.u7vft3kzq3b7zbbs@x1> Mail-Followup-To: Christian Baer , freebsd-questions@freebsd.org References: <20201113011300.0291aebb@uni-dortmund.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201113011300.0291aebb@uni-dortmund.de> X-Rspamd-Queue-Id: 4CXYZs0fMzz3hQ5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=JbHc=ET=perdition.city=julien@bebif.be designates 193.191.208.90 as permitted sender) smtp.mailfrom=SRS0=JbHc=ET=perdition.city=julien@bebif.be X-Spamd-Result: default: False [-2.40 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MID_RHS_NOT_FQDN(0.50)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[193.191.208.90:from]; DMARC_NA(0.00)[perdition.city]; SPAMHAUS_ZRD(0.00)[193.191.208.90:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=JbHc=ET=perdition.city=julien@bebif.be]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[77.109.105.242:received]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=JbHc=ET=perdition.city=julien@bebif.be]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2020 09:49:10 -0000 On Fri, Nov 13, 2020 at 01:13:00AM +0100, Christian Baer wrote: > Greetings Programs! :-) > > This is not exactly a FreeBSD question, so please don't throw rocks at > me! :-) FreeBSD will however most likely be utilized for this project! > > Because of the lockdown here in Germany (I know, in many other places > too), I have way too much time on my hands. And since I haven't > had the chance to really spend any money since April, I can afford to > spend a little. Don't go crazy, everybody! :-P > > I would like to build a little server for my own use. This server is to > be reachable from the outside, so this is not really a home NAS thing. > A few things I'd like to run: > > - Webserver (Apache or nginx) > - Nextcloud > - Jitsi > - Dovecot > - maybe an XMPP (like Prosody) > - maybe a Matrix server > > I am currently using Nextcloud on shared hosting but would like to port > that to hardware I control, not so much due to trust issues but because > some of the NC-apps use a few more CPU-cycles than my ISP likes. While > the performance for up- and downloads is more than fine, phonetrack is > pretty laggy. This would be the first service I would set up. I > currently also use XMPP, Matrix and IMAP, but on external servers and > this works fine for me. So Jitsi would probably come next. But I do > want to run all services in the long run. > > My internet connection is fast enough to run this sort of thing for my > purposes. > > I am thinking about doing this using an ODROID N2+[1], the 4GB version. > I have two main reasons for this: > > - ludic drive > Doing this on an ARM is way more exciting than on an AMD64. :-) > I have alread got a case for everything (an old modem from > the early 80s). It would look pretty cool. :-P > > - energy cost > Electricity is annoyingly expensive in Germany (a kWh costs ~30 > Eurocents). So the fact that this computer needs a relatively small > amount of electricity (compared to the alternative) is a good factor > for me. > > The alternative would be a computer I still have standing around here. > It's an AMD A10-7800 with 32GB of RAM on an Asus ROG board. It was > bought for a special (non-gaming) purpose (hence the high amount of > RAM), but never really got used, so it currently just collecting dust. > > The usage scale of this project is pretty minute actually. We are > talking between a dozen an two dozen users at the most - closer to the > one dozen, probably even less. It would be my family (including my > brother and his family), maybe one or two people from work and a couple > of friends. Most of the time, the system would be used for file storage, > text messages (possibly photos or media messages). Video calls may > cause some slightly higher loads. > > I am guessing that the "real" computer (as apposed to the SBC) will > probably have more CPU-power and the extra RAM will also make a > difference, but with a 65W TDP CPU, it will [probably] also *need* more > power. :-) I have also considered that the "real" computer has much > better connectivity for HDDs, which do not have to be connected via USB. > > What do you guys think? Would the SBC be able to deal with > the said tasks or would it be worth using the machine I already own and > deal with the electricity bill? I do want to have some reserves, so I > do not have to turn anyone down, who may wish to join the club, but I > do not want to go for an overkill either. > > Please give me your thoughts! > > Best regards und stay negative! > Chris > > [1] https://www.hardkernel.com/shop/odroid-n2-with-4gbyte-ram-2/ I do the same here, everything is running on a SM SuperServer 5029A-2TN4 (https://www.supermicro.com/en/products/system/midtower/5029/SYS-5029A-2TN4.cfm), with 64GB of RAM, ZFS with raidz2, and jails for everything (scripted in Saltstack), works like a charm and consumes ~40 watts (I live in Belgium and electricity is quite expensive too here). > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced.