Re: [gentoo-user] About python_ge­n_cond_dep

2022-08-29 Thread Bryan Gardiner
On Mon, 29 Aug 2022 12:14:59 +0300
Alexander Kurakin  wrote:

> As known, `python_gen_cond_dep` is for single implementation
> packages (either `python-single-r1` or `distutils-r1` with
> `DISTUTILS_SINGLE_IMPL=1`) where we're depending on Python packages
> which support multiple dependencies. (Thanks Sam James.)
> 
> But in dev-python/twisted [1] we have both: without
> `python_gen_cond_dep` (line 27) and with `python_gen_cond_dep` (line
> 58). Both of these dependencies are `PYTHON_COMPAT=( python3_{8..11}
> pypy3 )` + `inherit distutils-r1` + no set for
> `DISTUTILS_SINGLE_IMPL`: [2], [3].
> 
> What's the difference? Thanks!

In twisted's BDEPEND calls to python_gen_cond_dep, Python impl names
are passed after the depstring, and this looks like a way to limit
those dependencies to certain impls.  python3_11 is omitted compared
to PYTHON_COMPAT so maybe the tests don't support that yet.

Note that python_gen_cond_dep from python-r1.eclass is different from
python-single-r1.eclass, it generates dependencies using
PYTHON_TARGETS instead of PYTHON_SINGLE_TARGETS.

Cheers,
Bryan

> Sincerely,
> Alexander Kurakin.



Re: [gentoo-user] Getting maximum space out of a hard drive

2022-08-29 Thread Dale
Frank Steinmetzger wrote:
> Am Mon, Aug 29, 2022 at 12:49:56AM -0500 schrieb Dale:
>
>>> I run a raspi with some basic services, most importantly a pihole DNS filter
>>> and a PIM server. But I find it hacky-patchy with its flimsy USB power cable
>>> poking out of the side. I’d prefer a more sturdy construction, which is why
>>> I bought a NAS-style PC (zotac zbox nano with a passive 6 W Celeron). But
>>> that thing is so fast for every-day computing that I actually put a KDE
>>> system on it and now I don’t want to “downgrade” it to a mere server.
>> I googled that little guy and that is a pretty neat little machine. 
>> Basically it is a tiny puter but really tiny, just not tiny on
>> features.  The Zotac systems, even some older ones, are pretty nifty.  I
>> think I read they have a ITX mobo which is really compact.
> ITX (or rather miniITX) is 17×17 cm: https://en.wikipedia.org/wiki/Mini-ITX
> Those NUC-types are much smaller. I don’t quite know whether that board form
> factor has a name of its own (aside from NUC, but that’s a marketing name
> from Intel).
>
>> It sort of reminds me of a cell phone.  Small but fast CPUs, some even
>> have decent amounts of ram so they can handle quite a lot.  Never heard of
>> this thing before.  I wouldn't mind having one of those to work as my
>> OpenVPN server thingy.  I'd just need to find one that has 2 ethernet
>> ports and designed for that sort of task. 
> Many of the ZBoxes have dual NICs, which is what makes them very popular
> among server and firewall hackers because they are also very frugal. My
> particular model is the CI331:
> https://www.zotac.com/us/product/mini_pcs/zbox-ci331-nano-barebone
> It has one 2,5″ slot and one undocumented SATA M.2 which can only be reached
> by breaking the warranty seal. That’s where zotac installs a drive if you
> buy a zbox with Winblows pre-installed.
>
> After updating the BIOS, which allowed the CPU to enter lower C states, it
> draws 6 W on idle. It’s not a record, but still not so much for a 24/7 x86
> system.

I was looking for one with two ethernet ports but wasn't having any luck
yet.  I did find and download like a catalog thing but it will take a
while to dig through it.  They have a lot of models for different
purposes.  I did see a pre-made thing on ebay but can't recall the brand
that cost hundreds that was made just for VPNs and such.  It was really
pricey tho.  But, you plug it in, boot it up and it had evrything
installed and then some to control networks traffic.  It had stuff I
never heard of. 

I notice that several are made for home theater devices.  That's pretty
neat too. 


 I have a old computer that I might could use.  It is 4 core something
 and I think it has 4GBs of memory, maxed out.  I think it will perform
 well enough but wish it had a little more horses in it.
>>> An Intel Celeron from the Haswell generation (i.e. 8+ years old) did not
>>> have AES-NI yet, and it reached around 160 MB/s encryption speed. I tried
>>> it, because I had dealings with those processors in the past before I built
>>> my own NAS. Your old tech may still be usable, but please also consider
>>> power cost and its impact on the environment if it runs 24/7.
>> I'm not real sure what that old machine has.  I have Linux, can't recall
>> the distro tho, on it.  Is there a way to find out if it supports the
>> needed things?
> cat /proc/cpuinfo and look for aes or the like. Or enter the processor name
> into wikipedia, which will redirect you to the “List of processors by
> ” with huge tables of comparision and general info on an
> architecture’s improvements over its predecessor, like AES.

I have booted that old thing up and I grepped cpuinfo and no AES that I
could see or grep could find.  Must be before it's time. 

While I had it booted up, I checked into what all it did have.  It only
has 4 SATA ports, one already used for the OS hard drive.  I could
likely run it from a USB stick which would make all 4 available.  It has
8GBs of memory too.  CPU is a AMD Phenom 9750 Quad running at 2.4GHz.  I
found it add that cpuinfo showed a different speed I think.  I'll check
it again later. Maybe I misread it.  It's not a speedster or anything
but I may can do something with it.  It also has two old PCI slots and
one that I'm pretty sure is a PCIex16 for like a video card but it has a
built in one already.  To add more SATA ports, I'd have to use the
faster slot really made for video cards.  Guess it would work but. 
Also, it only has a 100MB ethernet port.  Fairly slow but I'm not going
to expect a lot of hard drive speed either. 


 I may use actual NAS software too.
>>> What is “actual NAS software”? Do you mean a NAS distribution? From my
>>> understanding, those distros install the usual services (samba, ftp, etc.)
>>> and develop a nice web frontend for it. But since those are web
>>> applications, there isn’t much to be gained from march=native.
>> I've seen TrueNAS, OpenNas I think and others.  

Re: [gentoo-user] Limiting amount of memory a program can use.

2022-08-29 Thread Dale
Matt Connell wrote:
> How many torrents are you seeding, for a point of comparison?
>
> I use deluge (headless) on my home server, seeding anywhere from 500-
> 1000 individual torrents, representing ~5TB of total data, and the
> process is cruising along at just over 1GB of memory used.
>
> Maybe qbittorrent just doesn't scale well?  I feel like I'm on the
> exceedingly-high end of the spectrum with usage of a torrent program,
> but I don't know what everyone else is doing.
>
>


At one point, I had about 400 or so total, some downloading, some
finished and uploading while some were doing both.  I may have to switch
to something else before it is over.  I may even put it on a different
machine or use something else to put my videos on the TV, HTPC thingy.
Since I've found things that were hard to find elsewhere, I want to
return the favor.  So, I'd really like to hold onto those that are hard
to find. 

After I removed some of the inactive ones, it is a lot better.  I also
limited the upload speed which helped a lot.  According to atop, when
uploading at higher speeds, the reads were really putting a load on that
set of drives.  Does deluge have a GUI option?  Of course, if I put it
on another machine, I may go headless for it.  That's one reason I'm
asking.  Options.

And as soon as I think it is better, it slows down again and I find this
from top:


27672 dale  20   0  410.7g   4.3g   4.1g S   2.2  13.6 158:26.37
/usr/bin/qbittorrent


It's not nearly as bad as it was when I started this thread but still,
that's a lot of memory.

Dale

:-)  :-) 



[gentoo-user] Lenovo T400 wifi scan and connect questions

2022-08-29 Thread Walter Dnes
1) the output of "dmesg | grep iwlwifi" is...

[0.640780] iwlwifi :03:00.0: can't disable ASPM; OS doesn't have ASPM 
control
[0.641112] Loading firmware: iwlwifi-5000-5.ucode
[0.641332] iwlwifi :03:00.0: loaded firmware version 8.83.5.1 build 
33692 5000-5.ucode op_mode iwldvm
[0.641360] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEBUG disabled
[0.641364] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[0.641367] iwlwifi :03:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
[0.641370] iwlwifi :03:00.0: Detected Intel(R) WiFi Link 5100 AGN, 
REV=0x54
[   17.311014] iwlwifi :03:00.0: Radio type=0x1-0x2-0x0
[   17.424989] iwlwifi :03:00.0: Radio type=0x1-0x2-0x0

  Nice to see that it detects the 5100 AGN just like lspci.  As the old
saying goes, "use it or lose it";  I used to be able to run wifi on this
machine manually (command line) in the past, but now I've completely
forgotten how.  I've emerged "iw" and "wpa_supplicant".  "iw dev" shows

phy#0
Interface wlan0
ifindex 3
wdev 0x1
addr 00:26:c6:4a:b4:92
type managed
txpower 15.00 dBm

  Questions...
  1) what do I do to scan and get a list of available networks?
  2) how do I connect to one of the listed networks (assuming either
it's public, or I have the password) ?
  3) minor detail... The Google hits I've found all show both DVM and
MVM support enabled.  Given that dmesg output shows "op_mode iwldvm",
can I safely get rid of MVM support ?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Limiting amount of memory a program can use.

2022-08-29 Thread Matt Connell
How many torrents are you seeding, for a point of comparison?

I use deluge (headless) on my home server, seeding anywhere from 500-
1000 individual torrents, representing ~5TB of total data, and the
process is cruising along at just over 1GB of memory used.

Maybe qbittorrent just doesn't scale well?  I feel like I'm on the
exceedingly-high end of the spectrum with usage of a torrent program,
but I don't know what everyone else is doing.



Re: [gentoo-user] Getting maximum space out of a hard drive

2022-08-29 Thread Frank Steinmetzger
Am Mon, Aug 29, 2022 at 12:49:56AM -0500 schrieb Dale:

> > I run a raspi with some basic services, most importantly a pihole DNS filter
> > and a PIM server. But I find it hacky-patchy with its flimsy USB power cable
> > poking out of the side. I’d prefer a more sturdy construction, which is why
> > I bought a NAS-style PC (zotac zbox nano with a passive 6 W Celeron). But
> > that thing is so fast for every-day computing that I actually put a KDE
> > system on it and now I don’t want to “downgrade” it to a mere server.
>
> I googled that little guy and that is a pretty neat little machine. 
> Basically it is a tiny puter but really tiny, just not tiny on
> features.  The Zotac systems, even some older ones, are pretty nifty.  I
> think I read they have a ITX mobo which is really compact.

ITX (or rather miniITX) is 17×17 cm: https://en.wikipedia.org/wiki/Mini-ITX
Those NUC-types are much smaller. I don’t quite know whether that board form
factor has a name of its own (aside from NUC, but that’s a marketing name
from Intel).

> It sort of reminds me of a cell phone.  Small but fast CPUs, some even
> have decent amounts of ram so they can handle quite a lot.  Never heard of
> this thing before.  I wouldn't mind having one of those to work as my
> OpenVPN server thingy.  I'd just need to find one that has 2 ethernet
> ports and designed for that sort of task. 

Many of the ZBoxes have dual NICs, which is what makes them very popular
among server and firewall hackers because they are also very frugal. My
particular model is the CI331:
https://www.zotac.com/us/product/mini_pcs/zbox-ci331-nano-barebone
It has one 2,5″ slot and one undocumented SATA M.2 which can only be reached
by breaking the warranty seal. That’s where zotac installs a drive if you
buy a zbox with Winblows pre-installed.

After updating the BIOS, which allowed the CPU to enter lower C states, it
draws 6 W on idle. It’s not a record, but still not so much for a 24/7 x86
system.

> >> I have a old computer that I might could use.  It is 4 core something
> >> and I think it has 4GBs of memory, maxed out.  I think it will perform
> >> well enough but wish it had a little more horses in it.
> > An Intel Celeron from the Haswell generation (i.e. 8+ years old) did not
> > have AES-NI yet, and it reached around 160 MB/s encryption speed. I tried
> > it, because I had dealings with those processors in the past before I built
> > my own NAS. Your old tech may still be usable, but please also consider
> > power cost and its impact on the environment if it runs 24/7.
> 
> I'm not real sure what that old machine has.  I have Linux, can't recall
> the distro tho, on it.  Is there a way to find out if it supports the
> needed things?

cat /proc/cpuinfo and look for aes or the like. Or enter the processor name
into wikipedia, which will redirect you to the “List of processors by
” with huge tables of comparision and general info on an
architecture’s improvements over its predecessor, like AES.

> >> I may use actual NAS software too.
> > What is “actual NAS software”? Do you mean a NAS distribution? From my
> > understanding, those distros install the usual services (samba, ftp, etc.)
> > and develop a nice web frontend for it. But since those are web
> > applications, there isn’t much to be gained from march=native.
> 
> I've seen TrueNAS, OpenNas I think and others.  Plus some just use
> Ubuntu or something.  Honestly, almost any linux distro with no or a
> minimal GUI would work. 

OK, but then you don’t run those on Gentoo. And those NAS distros are so
small and light-weight, they can be run from a USB stick if you so choose.
My NAS’s mainboard has a USB-A socket on-board for that reason.

> >>   I'm sure Gentoo would work to with proper tweaking but then I need to
> >> deal with compiling things.  Of course, no libreoffice or anything big so
> >> it may not be to bad.  Thing is, the NAS software will likely be more
> >> efficient since it is designed for the purpose. 
> > More efficient than what?

> I figure something like OpenNAS or TrueNAS would work better as it is
> built to be user friendly and has tools by default to manage things. 

Yeah, I was thinking of using one of those, too. But I liked the idea of
being more flexible with some ZFS voodoo which the web interfaces won’t
allow. Like creating a downgraded pool because I don’t have enough HDDs, filling
that up and adding the missing disk later. Sometimes I wish for the bigger
ease of use of a web interface.

> I'm pretty sure they support RAID and such by default.  It is likely set
> up to make setting it up easier too. 

They do, naturally. And yes, the frontends hide lots of the gory details.

-- 
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.

Even baldies do have streaks of luck.


signature.asc
Description: PGP signature


Re: [gentoo-user] how to fix error with lpass ebuild

2022-08-29 Thread John Covici


On Mon, 29 Aug 2022 06:19:42 -0400,
Stefano Crocco wrote:
> 
> On lunedì 29 agosto 2022 12:10:31 CEST John Covici wrote:
> > Hi.  I am a lastpass user and saved an ebuild of lpass  which seems to
> > be no longer in the tree.
> > 
> > I get the following error during my world update:
> > 
> >  *   cmake-utils.eclass could not be found by inherit()
> >  *
> >  * Call stack:
> >  *   ebuild.sh, line 611:  Called source
> > '/usr/local/portage/app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild' *  
> > lastpass-cli-1.3.3.ebuild, line   7:  Called inherit 'cmake-utils'
> > 'bash-completion-r1' *   ebuild.sh, line 259:  Called die
> >  * The specific snippet of code:
> >  *  [[ -z ${location} ]] && die "${1}.eclass could not be 
> found by
> > inherit()" *
> >  * If you need support, post the output of `emerge --info
> > '=app-admin/lastpass-cli-1.3.3::local_ebuilds'`, * the complete build log
> > and the output of `emerge -pqv
> > '=app-admin/lastpass-cli-1.3.3::local_ebuilds'`. * Working directory:
> > '/usr/lib/python3.10/site-packages'
> >  * S:
> > '/var/tmp/portage/app-admin/lastpass-cli-1.3.3/work/lastpass-cli-1.3.3'
> > 
> > I see the eclass is not there -- how to fix?
> > 
> > Thanks in advance for any suggestions.
> 
> Looking at the git commit for the cmake-utils.eclass removal [1], it seems it 
> should be replaced by cmake.eclass. I don't know if it's just a matter of 
> replacing the inherit line in ebuild or if there are other changes to make, 
> however.
> 
> I hope this helps
> 
> Stefano
> 
> [1] https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass?
> id=3e744f5adb5c46eb013d3f1228f607b094ac212a
> 
> 
> 
> 

Thanks for your quick response -- I will try this and see what
happens.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] how to fix error with lpass ebuild

2022-08-29 Thread Stefano Crocco
On lunedì 29 agosto 2022 12:10:31 CEST John Covici wrote:
> Hi.  I am a lastpass user and saved an ebuild of lpass  which seems to
> be no longer in the tree.
> 
> I get the following error during my world update:
> 
>  *   cmake-utils.eclass could not be found by inherit()
>  *
>  * Call stack:
>  *   ebuild.sh, line 611:  Called source
> '/usr/local/portage/app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild' *  
> lastpass-cli-1.3.3.ebuild, line   7:  Called inherit 'cmake-utils'
> 'bash-completion-r1' *   ebuild.sh, line 259:  Called die
>  * The specific snippet of code:
>  *[[ -z ${location} ]] && die "${1}.eclass could not be 
found by
> inherit()" *
>  * If you need support, post the output of `emerge --info
> '=app-admin/lastpass-cli-1.3.3::local_ebuilds'`, * the complete build log
> and the output of `emerge -pqv
> '=app-admin/lastpass-cli-1.3.3::local_ebuilds'`. * Working directory:
> '/usr/lib/python3.10/site-packages'
>  * S:
> '/var/tmp/portage/app-admin/lastpass-cli-1.3.3/work/lastpass-cli-1.3.3'
> 
> I see the eclass is not there -- how to fix?
> 
> Thanks in advance for any suggestions.

Looking at the git commit for the cmake-utils.eclass removal [1], it seems it 
should be replaced by cmake.eclass. I don't know if it's just a matter of 
replacing the inherit line in ebuild or if there are other changes to make, 
however.

I hope this helps

Stefano

[1] https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass?
id=3e744f5adb5c46eb013d3f1228f607b094ac212a





[gentoo-user] how to fix error with lpass ebuild

2022-08-29 Thread John Covici
Hi.  I am a lastpass user and saved an ebuild of lpass  which seems to
be no longer in the tree.

I get the following error during my world update:

 *   cmake-utils.eclass could not be found by inherit()
 * 
 * Call stack:
 *   ebuild.sh, line 611:  Called source 
'/usr/local/portage/app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild'
 *   lastpass-cli-1.3.3.ebuild, line   7:  Called inherit 'cmake-utils' 
'bash-completion-r1'
 *   ebuild.sh, line 259:  Called die
 * The specific snippet of code:
 *  [[ -z ${location} ]] && die "${1}.eclass could not be found by 
inherit()"
 * 
 * If you need support, post the output of `emerge --info 
'=app-admin/lastpass-cli-1.3.3::local_ebuilds'`,
 * the complete build log and the output of `emerge -pqv 
'=app-admin/lastpass-cli-1.3.3::local_ebuilds'`.
 * Working directory: '/usr/lib/python3.10/site-packages'
 * S: '/var/tmp/portage/app-admin/lastpass-cli-1.3.3/work/lastpass-cli-1.3.3'

I see the eclass is not there -- how to fix?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Limiting amount of memory a program can use.

2022-08-29 Thread Dale
ralfconn wrote:
> On 8/28/22 14:24, Dale wrote:
>> Howdy,
>>
>> As most know, I got a much faster internet and I use torrent software,
>> quite a lot.  I was using Ktorrent and it was OK but it was slow.  I
>> started using Qbittorrent and like it better in a way but it has its own
>> speed issues and both affect my desktop response.  I did some googling
>> and used top to figure out that they are using a LOT of memory for
>> cache.  At times, it uses well over half my memory just for cache.  It
>> also gets to a point where it is using swap even tho I have swappiness
>> set to 1, basically use swap only to prevent a crash from out of memory
>> problems.  We all know how slow swap use can make things.  As it is, I
>> reduced the number of active files which is not something I want to do.
>> If I receive, I like to send as well.  After all, someone sent to me as
>> well.  What I would like to do is limit the amount of memory torrent
>> software can use.  I don't know exactly how to do that tho.  It's not
>> something I've ever done.
>>
>> Is this something I do on the command line or a setting is some file
>> somewhere?  I don't even know where to start on this.  By the way, I'm
>> maxed out at 32GBs of memory for this mobo.  So adding memory isn't a
>> option.  Is there even a mobo that has a 64GB option??? :/
>
> Not really an answer to your question but here I never had
> speed/responsiveness/memory issues with transmission (Xfce, 16Gb RAM,
> 50Mbit/s network bandwidth ):
>
> [I] net-p2p/transmission
>
>  Available versions:  3.00-r1^t (~)3.00-r4^t ***l^t
> {appindicator cli gtk lightweight mbedtls nls qt5 systemd test web}
>  Installed versions:  3.00-r4^t(01:14:38 PM 05/29/2022)(cli nls
> -appindicator -gtk -lightweight -mbedtls -qt5 -systemd -test)
>  Homepage:    https://transmissionbt.com/
>  Description: A fast, easy, and free BitTorrent client
>
> I use it without GUI (-gtk -qt5) because I find the web interface just
> fine. Also, being server-based it runs regardless of who's logged into
> the PC, which is a plus here.
>
> raffaele


I may look into that.  Just to see if it is even better than Ktorrent
and Qbittorrent.  Never know.  I may like it like Mikey.  lol  It's a
old TV commercial. 

I'm not sure what happened but it started acting better.  One, I did
remove a lot of items that were just sitting there.  Then I removed some
that had a high share ratio, I did a lot of sharing.  There was also a
update to QBT but at first it didn't help any.  It was after a few
restarts that it seemed to improve.  I did notice that at one point it
was uploading around 60 or 70MB/sec and desktop response slowed some but
not as bad as before.  I guess I need to limit what it uploads a bit.  I
know how to do that. 

So, I think the update improved things but took a few restarts to kick
in or something.  Removing some unused files helped too.  I wonder if I
could use torrent on a Raspberry Pi?  :-)  lol 

By the way, I notice this in df and mount:


root@fireball / # df -h | grep group
cgroup_root 10M 0   10M   0% /sys/fs/cgroup
root@fireball / # mount | grep group
cgroup_root on /sys/fs/cgroup type tmpfs
(rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
openrc on /sys/fs/cgroup/openrc type cgroup
(rw,nosuid,nodev,noexec,relatime,release_agent=/lib/rc/sh/cgroup-release-agent.sh,name=openrc)
none on /sys/fs/cgroup/unified type cgroup2
(rw,nosuid,nodev,noexec,relatime,nsdelegate)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse
(rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
portal on /run/user/1000/doc type fuse.portal
(rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
root@fireball / #

I guess cgroups is enabled but I never touched any of it.  Only read a
few threads on here about it. 

Thanks to all.

Dale

:-)  :-) 



Re: [gentoo-user] Getting maximum space out of a hard drive

2022-08-29 Thread Dale
Frank Steinmetzger wrote:
> Am Fri, Aug 26, 2022 at 06:26:39AM -0500 schrieb Dale:
>
>> I looked into the Raspberry and the newest version, about $150 now,
>> doesn't even have SATA ports.  I can add a thing called a "hat" I think
>> that adds a couple but thing is, that costs more and still isn't
>> enough.
> I run a raspi with some basic services, most importantly a pihole DNS filter
> and a PIM server. But I find it hacky-patchy with its flimsy USB power cable
> poking out of the side. I’d prefer a more sturdy construction, which is why
> I bought a NAS-style PC (zotac zbox nano with a passive 6 W Celeron). But
> that thing is so fast for every-day computing that I actually put a KDE
> system on it and now I don’t want to “downgrade” it to a mere server.
>


I googled that little guy and that is a pretty neat little machine. 
Basically it is a tiny puter but really tiny, just not tiny on
features.  The Zotac systems, even some older ones, are pretty nifty.  I
think I read they have a ITX mobo which is really compact.  It sort of
reminds me of a cell phone.  Small but fast CPUs, some even have decent
amounts of ram so they can handle quite a lot.  Never heard of this
thing before.  I wouldn't mind having one of those to work as my OpenVPN
server thingy.  I'd just need to find one that has 2 ethernet ports and
designed for that sort of task. 


>> I have a old computer that I might could use.  It is 4 core something
>> and I think it has 4GBs of memory, maxed out.  I think it will perform
>> well enough but wish it had a little more horses in it.
> An Intel Celeron from the Haswell generation (i.e. 8+ years old) did not
> have AES-NI yet, and it reached around 160 MB/s encryption speed. I tried
> it, because I had dealings with those processors in the past before I built
> my own NAS. Your old tech may still be usable, but please also consider
> power cost and its impact on the environment if it runs 24/7.

I'm not real sure what that old machine has.  I have Linux, can't recall
the distro tho, on it.  Is there a way to find out if it supports the
needed things?  Since I'd mostly be using it as a backup system, it
won't run all the time.  I usually do backups on weekends when I update
the OS.  Recently tho, since the internet is so fast, I have done it
twice a week.  Just keep in mind, all this is encrypted. 


>> I looked at something called ITX but they have only one PCIe slot
>> usually.  That's not enough.  I'd like to have two 6 or 8 port SATA
>> cards.  Then balance the drives on each.  I think some of the through
>> put is shared so the more drives on it, the slower it can be.  I'd like
>> to have two such cards. 12 or 16 drives should be enough to last a
>> while.
>>
>> Part of me wants to do RAID but not sure about that.
> Dealing with so many drives, I think there’s no getting around RAID. All
> drives fail. The more drives you have, the earlier the first failure. With
> that many drives, I wouldn’t want to handle syncs between them by hand in
> order to get redundancy or backups of backups.
>

It's a step I need to take but I have to accumulate the needed drives
first.  I'm getting there tho, slowly. 


>> While I don't think I need a super powerful machine, I do want enough
>> that it will perform well.
> The question is: what do you need it to perform? If it’s just storing and
> serving files, save the bucks and use any low-end x86 processor with AES
> instructions. My NAS first ran on the above mentioned Celeron, but later I
> did upgrade to a low-power i3 (because the case¹ is very cramped, I don’t
> want too much heat in there). It is a dual-core with SMT and AES at 35 W.
> IIRC, it can encrypt around 800-something MB/s. And that is an old i3-4170.
> Modern chips are most probably much faster still.
>
>> I may use actual NAS software too.
> What is “actual NAS software”? Do you mean a NAS distribution? From my
> understanding, those distros install the usual services (samba, ftp, etc.)
> and develop a nice web frontend for it. But since those are web
> applications, there isn’t much to be gained from march=native.
>
> I still run Gentoo on my NAS, just for the old habit and because it comes
> with ZFS right out of the box. But the services I still configure the
> classical way – ssh, vim and config files.

I've seen TrueNAS, OpenNas I think and others.  Plus some just use
Ubuntu or something.  Honestly, almost any linux distro with no or a
minimal GUI would work. 


>>   I'm sure Gentoo would work to with proper tweaking but then I need to
>> deal with compiling things.  Of course, no libreoffice or anything big so
>> it may not be to bad.  Thing is, the NAS software will likely be more
>> efficient since it is designed for the purpose. 
> More efficient than what?
>
> My NAS is powered up every few weeks or often months. And then the first
> thing I do is—of cours—a world update. And as you mentioned, the install
> base is rather small. No graphical stuff whatsoever (server board, small