You are not logged in.

#1 2011-12-08 13:54:26

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 223

To build a router based on archlinux, should i choose 32bit or 64bit?

I bought a new atom D2500 motherboard with 2 gigabit lan ports, and i'd like to turn it into a router box. I've searched over internet on how the routing/switching performances different between x86 and amd64, but i found almost nothing.

Any guru helps me?

Offline

#2 2011-12-08 14:48:38

llawwehttam
Member
From: United Kingdom
Registered: 2010-01-19
Posts: 181

Re: To build a router based on archlinux, should i choose 32bit or 64bit?

If it supports 64 bit then use 64bit. I really doubt you will notice much if any performance difference though.

Offline

#3 2011-12-08 16:35:08

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: To build a router based on archlinux, should i choose 32bit or 64bit?

Unless your router is going to do heavy encryption I'd go 32 bit because there's generally less problems and it uses less RAM. But I have no experience building routers or with this Atom model...

Offline

#4 2011-12-08 16:38:46

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: To build a router based on archlinux, should i choose 32bit or 64bit?

stqn wrote:

I'd go 32 bit because there's generally less problems

That might have been true years ago, but these days it's just FUD. If your CPU is 64bit, install 64bit.

Offline

#5 2011-12-08 17:01:52

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 223

Re: To build a router based on archlinux, should i choose 32bit or 64bit?

since IPv4 is 32bit long, i thought 64bit would cause higher network latency, wasn't it?

Offline

#6 2011-12-08 17:06:38

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: To build a router based on archlinux, should i choose 32bit or 64bit?

tomk wrote:
stqn wrote:

I'd go 32 bit because there's generally less problems

That might have been true years ago, but these days it's just FUD. If your CPU is 64bit, install 64bit.

No it's not. I switched to 64 bits 6 months ago and I've had problems I didn't have in 32 bit. It's especially true for multimedia stuff (wine, games) and closed source stuff, but not only. I'm not saying they are all insurmountable, but it was easier in 32 bit.

Offline

#7 2011-12-08 17:33:42

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: To build a router based on archlinux, should i choose 32bit or 64bit?

stqn wrote:
tomk wrote:
stqn wrote:

I'd go 32 bit because there's generally less problems

That might have been true years ago, but these days it's just FUD. If your CPU is 64bit, install 64bit.

No it's not. I switched to 64 bits 6 months ago and I've had problems I didn't have in 32 bit. It's especially true for multimedia stuff (wine, games) and closed source stuff, but not only. I'm not saying they are all insurmountable, but it was easier in 32 bit.

I believe that all that you need for a router works perfectly fine in 64 bit.

Offline

#8 2011-12-08 18:14:41

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: To build a router based on archlinux, should i choose 32bit or 64bit?

stqn wrote:

No it's not. I switched to 64 bits 6 months ago and I've had problems I didn't have in 32 bit. It's especially true for multimedia stuff (wine, games) and closed source stuff, but not only. I'm not saying they are all insurmountable, but it was easier in 32 bit.

Unless you mean Flash, you did something wrong. Besides, if you have 64bit cpu with amd-v why choose wine? Just virtualize...

To put it simply, 32bit must be used only in two cases: 32bit cpu or <1GB RAM. See http://blog.linuxolution.org/computers- … extension/

Last edited by Leonid.I (2011-12-08 18:15:56)


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#9 2011-12-08 21:54:39

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: To build a router based on archlinux, should i choose 32bit or 64bit?

llawwehttam wrote:

If it supports 64 bit then use 64bit.

+1
I just upgraded my pair of firewall/routers at work from 32 to 64 bit. The old 32-bit worked fine, and the new 64-bit works just as fine.

Any of the "problems" people come across with 64-bit you won't find in the tools needed for a router.

The main thing is, using 64-bit will avoid your uptime wrapping around and going back to zero after a couple of years of uptime tongue

Offline

#10 2011-12-08 23:36:49

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 223

Re: To build a router based on archlinux, should i choose 32bit or 64bit?

Leonid.I wrote:
stqn wrote:

No it's not. I switched to 64 bits 6 months ago and I've had problems I didn't have in 32 bit. It's especially true for multimedia stuff (wine, games) and closed source stuff, but not only. I'm not saying they are all insurmountable, but it was easier in 32 bit.

Unless you mean Flash, you did something wrong. Besides, if you have 64bit cpu with amd-v why choose wine? Just virtualize...

To put it simply, 32bit must be used only in two cases: 32bit cpu or <1GB RAM. See http://blog.linuxolution.org/computers- … extension/


I want my router to be plugged with a usb skype phone.

Offline

#11 2011-12-09 07:17:28

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: To build a router based on archlinux, should i choose 32bit or 64bit?

Just for you to keep in mind if you can't have it working in Linux: my experience with skype in linux is not good, so I ended up using skype inside virtualbox. You can have your router run a virtualbox machine if you need to, redirect the skype phone automatically and control it with remote access.

Offline

#12 2011-12-09 12:28:41

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 223

Re: To build a router based on archlinux, should i choose 32bit or 64bit?

Pajaro wrote:

Just for you to keep in mind if you can't have it working in Linux: my experience with skype in linux is not good, so I ended up using skype inside virtualbox. You can have your router run a virtualbox machine if you need to, redirect the skype phone automatically and control it with remote access.

is your box 32b or 64b?

Offline

#13 2011-12-09 12:30:13

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: To build a router based on archlinux, should i choose 32bit or 64bit?

enihcam wrote:
Pajaro wrote:

Just for you to keep in mind if you can't have it working in Linux: my experience with skype in linux is not good, so I ended up using skype inside virtualbox. You can have your router run a virtualbox machine if you need to, redirect the skype phone automatically and control it with remote access.

is your box 32b or 64b?

64b, and I have issues with audio devices.

Offline

#14 2011-12-09 12:39:18

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 223

Re: To build a router based on archlinux, should i choose 32bit or 64bit?

Pajaro wrote:
enihcam wrote:
Pajaro wrote:

Just for you to keep in mind if you can't have it working in Linux: my experience with skype in linux is not good, so I ended up using skype inside virtualbox. You can have your router run a virtualbox machine if you need to, redirect the skype phone automatically and control it with remote access.

is your box 32b or 64b?

64b, and I have issues with audio devices.

i see. so this probably will not happen on the usb phone, for the phone has its own audio system. it simple uses d-bus to operate skype software and redirect the audio back to itself.

Offline

Board footer

Powered by FluxBB