Raspberry Pi
From Holyheads Wiki
(Difference between revisions)
(→Some links) |
|||
Line 23: | Line 23: | ||
** see 'Slow USB drives' above | ** see 'Slow USB drives' above | ||
** use Raspbian, etc without GUI to get as much CPU power for file-transfer as possible (OpenELEC or RaspBMC constantly result in about 10-20% CPU load when idle, use ''top'' to check!) | ** use Raspbian, etc without GUI to get as much CPU power for file-transfer as possible (OpenELEC or RaspBMC constantly result in about 10-20% CPU load when idle, use ''top'' to check!) | ||
− | |||
− | |||
− | |||
===Misc Q&A=== | ===Misc Q&A=== | ||
Line 38: | Line 35: | ||
* Q: The new password is to short. | * Q: The new password is to short. | ||
: A: Try adjusting the PAM settings, see [https://www.google.de/search?q=pam+password+minimum+length Google search for ''''pam password minimum length''''] | : A: Try adjusting the PAM settings, see [https://www.google.de/search?q=pam+password+minimum+length Google search for ''''pam password minimum length''''] | ||
+ | |||
+ | ===Things I want to try=== | ||
+ | |||
+ | * [http://forum.stmlabs.com/showthread.php?tid=11023 bfq IO scheduler BFQ] to increase throughput | ||
+ | |||
+ | * Samba: try adjusting 'socket options' in (/etc/samba/smb.conf) to increase NAS performance: some websites recommend to disable the 'socket options', some recommend to set: | ||
+ | |||
+ | socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 | ||
+ | |||
==Some links== | ==Some links== |
Revision as of 20:37, 28 December 2013
Contents |
Cockbook
My collection of hints, tips and tricks
Mounting USB drives
- Slow USB drive performance?
- Mount with option 'noatime' or 'relatime'
- Mount without option sync (e.g. keep default async)
- Auto mount done by OpenElec:
/dev/sda1 on /var/media/Holyhead type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
Samba server / NAS
- How to install?
- Raspberry Pi: Samba Server installieren (German)
- Low Budget NAS mit einem Raspberry PI (German)
- Slow performance?
- see 'Slow USB drives' above
- use Raspbian, etc without GUI to get as much CPU power for file-transfer as possible (OpenELEC or RaspBMC constantly result in about 10-20% CPU load when idle, use top to check!)
Misc Q&A
- Q: Does Raspberry support WOL?
- A: No: the Ethernet chip is connected via USB ([3])
- Q: The new password is to short.
- A: Try adjusting the PAM settings, see Google search for 'pam password minimum length'
Things I want to try
- bfq IO scheduler BFQ to increase throughput
- Samba: try adjusting 'socket options' in (/etc/samba/smb.conf) to increase NAS performance: some websites recommend to disable the 'socket options', some recommend to set:
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
Some links
Blogs, forums, etc:
- www.raspberrypi.org/phpBB3/
- Stm Labs Forum / Raspbmc
- Wel!s Blog (German)
- Raspberry Pi Blog of Jan Karres (German)