LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-07-2016, 04:19 AM   #1
bkone
Member
 
Registered: Jun 2006
Distribution: SUSE, Red Hat, Oracle Linux, CentOS
Posts: 108

Rep: Reputation: 15
Rasberry Pi 3 or Pine64 PC replacement


Currently, I am supporting about 160 Dell OptiPlex 3010 PCs running Squid for WCCP caching and another proprietary application to cache Windows updates and Windows applications used by our District Offices. They are running SUSE Linux Enterprise Desktop. The subscription is coming up and I am thinking about changing to CentOS because there is no price tag to get the update channels. These have been running just fine with no vendor support for over 10 years. Anyways, with the hardware coming of age too, about 5 years, I was thinking about swapping that out too. If I could get the Business Unit buy in to purchase. Today these Dell PCs have 8GB RAM, 1TB drive, etc probably more hardware than needed. I was thinking about testing out using Raspberry Pi 3 or Pine64, sure there are others I might be missing, to use for this case. They are low powered and easy to run. In the event one went bad I could cross ship a replacement cheaper than shipping a heavy PC. Few items I am uncertain of. Would any of these type of boards run Squid efficiently enough? 2GB of RAM. Are there any other boards that come with more RAM than that? Is it possible to order 160 boards and enclosures with MicroSD cards in bulk like this? I was going to get a 64 or 128 GB MicroSD card for them all for the storage. Today, space allocation varies from about 40 - 80 GB depending on Office. I haven't checked if CentOS has a ARM version but I do know openSUSE does have a 64-bit ARM version so I could use that. Just trying to think if I missed anything on why this wouldn't be a good cost-effective alternative to cache websites, WCCP traffic, and applications? Thoughts or any other information on this matter would be greatly appreciated.
 
Old 12-07-2016, 04:54 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
I would caution against the Pine64, purely because there are 32bit/64bit issues with the boot up early on. That means it's not quite as straightforward as it seems, and your choices of OS are curtailed. At least investigate that area before plumping for one.

As for squid, surely that depends on what loading you are catering for.
 
Old 12-08-2016, 04:51 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
One further issue I should have mentioned. Disk throughput.

With an ssd, you will get several hundred MB/S from an x86 motherboard/chipset, and cached reads/writes are even faster. The same cannot necessarily be said of usb disks, even usb-3.0.
 
Old 12-08-2016, 10:04 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,965

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
You may be able to run a Pi3 or other of the many boards like that.

Personally I might be tempted to run a Liva X2.
 
Old 12-09-2016, 06:53 AM   #5
bkone
Member
 
Registered: Jun 2006
Distribution: SUSE, Red Hat, Oracle Linux, CentOS
Posts: 108

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by business_kid View Post
One further issue I should have mentioned. Disk throughput.

With an ssd, you will get several hundred MB/S from an x86 motherboard/chipset, and cached reads/writes are even faster. The same cannot necessarily be said of usb disks, even usb-3.0.
I wasn't going to use any external disk. I was going to use the MicroSD card that housed the OS. I figured if I got a 64 or 128GB card that should be more than enough storage. I would need to reconfigure my squid.conf file so the cache store was smaller but then everything would be contained within the board.
 
Old 12-09-2016, 07:00 AM   #6
bkone
Member
 
Registered: Jun 2006
Distribution: SUSE, Red Hat, Oracle Linux, CentOS
Posts: 108

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jefro View Post
You may be able to run a Pi3 or other of the many boards like that.

Personally I might be tempted to run a Liva X2.
LIVA's look interesting but they also come with a price tag higher than what I am looking at. Overall, I want to reduce the price footprint thus the Raspberry Pi thinking. I am hoping to find someplace to purchase about 150 - 160 with 128GB MicroSD cards and enclosed for around the price one of the LIVA's cost.
 
Old 12-09-2016, 08:26 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Quote:
Originally Posted by bkone View Post
I wasn't going to use any external disk. I was going to use the MicroSD card that housed the OS. I figured if I got a 64 or 128GB card that should be more than enough storage. I would need to reconfigure my squid.conf file so the cache store was smaller but then everything would be contained within the board.
Do a speed test, I would suggest. It's rare enough to find a parallel interface of any width to an sd card, so you're stuck in serial, and then the sd card memory is a slower write cycle than volatile ram. It's ok if the site is low throughput, low traffic, low connections. I can foresee bottlenecks otherwise. I ran 'hdparm -tT' on my own sd card (Not MicroSD, the next size up) in an sd card reader and got reads of 17.03MB/S. I also tried a MicroSD in a USB-3.0 port and adapter thingy and got reads of 20.75MB/S. I would consider those speeds underwhelming for something live online, and of course writes would be slower.
 
Old 12-10-2016, 06:03 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,965

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
What would one expect to pay for a complete Pi3 that has power supply, enclosure and SD card?
 
Old 12-17-2016, 01:20 PM   #9
normscherer
Member
 
Registered: Sep 2005
Location: Prescott, AZ
Distribution: Ubuntu Mate 18 LTS
Posts: 50

Rep: Reputation: 15
You can get the Pi, enclosure and power supply for about $67. That was what I saw at Newark last week.
 
Old 12-17-2016, 03:13 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,965

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Still would need a CF or other media for each machine?

Another user was posting about a different device the nanopc at similar price.


Wonder if one could get this up in linux? http://www.newegg.com/Product/Produc...-156-_-Product
 
Old 12-17-2016, 04:09 PM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
First things first - is that "proprietary application" ported to ARM ?. If not, you are dead in the water.

I use a pi3 at home for router/firewall/squid - works fine for low traffic environment like my house. I too would be concerned about throughput loads - and sdcard reliability. I bought two 32 Gig class 10 to investgate the whole ARM thing - one was doa. Web forums suggest they are not as reliable as you might want in an office. Mine has been running fine 24/7 for about 8 months since I installed - just the one sdcard.
 
Old 12-17-2016, 07:59 PM   #12
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,965

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Thanks for the real world information.
 
Old 12-18-2016, 10:16 AM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
If cost is driving you to consider the Pi or Pine 64, may I suggest you do what I did when maintaining Paint Mixing Machinery for some years in the 90s? I needed cheap pcs, specs weren't a huge issue. I would go in person to small computer shops and ask:

"Do you do upgrades?"
"Yes, yes," they would reply eagerly. I would cut in:
"Good, do you have any Downgrades?"

If they were slow off the mark, I would explain that this was their opportunity to get some beer money (in cash) for the working parts they had taken out of pcs they already upgraded and had under their workbench waiting for the next skip (to be dumped). I could usually get unspectacular working motherboards with some ram, video cards & hard disks for affordable & unspectacular prices. Power supplies were rarer. I would have cash, and see the hardware boot up. It was a buyer's market; plenty of small pc shops, few people needing downgrades.
 
Old 01-18-2017, 10:02 AM   #14
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,473

Rep: Reputation: Disabled
Not sure how far along you are with this, but these might help.

https://www.raspberrypi.org/
https://www.raspberrypi.org/magpi/issues/
https://www.amazon.co.uk/ThePiHut-Ra...rb_top?ie=UTF8

(I've been wondering how powerful these units are compared to a normal PC, with only 1GB shared memory, they may not be very good with online browsing, which is my main usage these days.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Build a $20 Computer with PINE64 LXer Syndicated Linux News 0 08-09-2016 04:51 PM
[SOLVED] Pine64 Linux/Android options? business_kid Linux - Mobile 1 06-17-2016 04:42 AM
Rasberry PI Hardware enine Slackware 6 05-07-2013 08:35 PM
Rasberry Pi ahead LinuxQuestions.org Member Intro 0 07-18-2012 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration