View Single Post
Old 01-28-2013, 09:32 AM
teetee1 teetee1 is offline
L6: Expert
  • Sep 2006
  • 1,954
  • 915 teetee1 is a splendid one to behold
Quote from Zank View Post :
On average my transfer rate is 22 minutes for a 10 gb file.

Also anyone got sabnzbd instructions?
10GB/22min = 10*1024 MB / 22 / 60sec = 7.75MB/sec. That's good enough for 1080p playback. I have listed several real time monitoring tools in my previous post. To accurately measure the file transfer speed you just need the correct file size and a good stop watch. Or you can try something like DUmeter on windows.

The only tricky thing about sabnzbd installation is the permissions. Make sure you have sabnzbd installed:
# pacman -Qs sabnzbd
if the info shows up as result then you already have sabnzbd installed.

If not, you have to get it from AUR (Arch User Repository). In this case installing a AUR package manager/broker will save some time (for now and in the long run) and I like yaourt. It's like other package managers such as yum, apt, emerge which can automatically search and install the required dependencies for the package you want to install.

Here is how to install yaourt:

Be sure that your system time is sync'ed with the time server pool otherwise the certificate may not be working when yaourt tries to use wget to get the stuff from https hosts. (I simply create a systemd script `ntpd -gq` so the system's time is always adjusted when it boots up - too lazy to use ntp client as a service or use cron).

yaourt install:
1. # pacman -Sy wget base-devel yajl ed
2. # wget
3. # tar zxvf package-query.tar.gz
4. # cd package-query
5. edit PKGBUILD and change arch type to "any"
6. # makepkg --asroot PKGBUILD
7. # pacman -U <package.xz>
7. # wget
8. # tar zxvf yaourt.tar.gz
9. # cd yaourt
10.# makepkg --asroot PKGBUILD
11.# pacman -U <package.xz>
Feel free to delete everything that was downloaded or created during the above steps after the software is up and running.

the steps also show how to install packages from the source by using PKGBUILD file. It's easier than compiling from the source (./configure; make; make install) and you have a package at the end so it makes removing the package cleaner and easier if you don't want it.

To install sabnzbd simply do
# yaourt -Sy sabnzbd
and follow the script's instruction to get it done.

The default sabnzbd base path is /opt/sabnzbd if you get it from AUR. Make sure /opt/sabnzbd and all the subdirectories is owned by the user you use to run sabnzbd. You can find that info in /usr/lib/systemd/system/sabnzbd.service, the location is where all the start/stop scripts used by systemd to control the software.

Use the following command to change the ownership of an entire folder and everything in it:
# chown -R nobody.nobody /opt/sabnzbd
//change the ownership to nobody user and nobody group

there may be other locations for sabnzbd files such as /etc/conf.d/ but in this case only /opt/sabnzbd needs attention (if I remember correctly). Sickberad is a whole different deal because it doesn't have a base directory so the files are all over the place.
To check all the files installed from a package:
# pacman (or yaourt) -Ql <package name> | less

After that you are all set, just start the service (# systemctl start sabnbzd) and go to the webpage (http://<IP>:8080/sabnzbd (the port number is listed in /opt/sabnzbd/sabnzbd.ini) and set all the configuration options before you start to have fun with it.

Performance note: pogo's 256MB ram obviously is not enough for lots of things, one of them is too many job queue in sabnzbd. They could be from sickbeard or other sources. We don't want to use too much drive space for cache either because of the flash drive short life cycle. You just have to test out the best settings for your own system.