I needed to get the SASL passthrough working since I have some things that need to bind to the LDAP server. Specifically, I need to be able to authenticate to my Synology NAS with my LDAP account. Till now, I’ve just used NFS permissions to mount the shares to the system (mainly using the automounter getting the information from the LDAP server). If I need to allow clients to bind to the LDAP server as authentication, then I’ll need to have access to the password. I store my passwords in the Kerberos KDC, but I can have LDAP pass the authentication through to a SASL backend instead of storing the passwords locally in the directory.
Continue reading “[Network Administration] : OpenLDAP and SASL Passthrough”
I have both Ubuntu and Linux machines. One of the goals is to have access to all of the same information regardless of where I log in, and to have it transparent to the machine that I’m actually using. Continue reading “[Network Administration]: OS X and Mobile Accounts”
I’m just going to put this here as some performance numbers that I’ve collected for the DS212 that I have running.
The NAS is connected via a CAT6 cable to a Netgear GS105 5-port gigabit switch. I also have this connected to a Mac Mini via a CAT6 cable. The switch is also connected to a wifi access point and the gateway/modem. With this, I should be able to route traffic between the NAS and the Mac Mini at gigabit speeds allowing me to stream audio and more importantly HD video. These numbers are over nfs directory mounts.
I’ve tested this using three different read and write operations (6 total, averaged over 20 iterations).
- Copy an entire MP3 album to the NAS – total of 98,140KB
- Copy an MP4 Video to the NAS – 679,692KB
- Dump 1GB of data to the NAS from /dev/zero (no disk access on the source side) – 1,048,576KB
- Copy an entire MP3 album from the NAS – total of 98,140KB
- Copy an MP4 video from the NAS – 679,692KB
- Read 1GB of data from the NAS to /dev/null (no disk access on the destination side) – 1,048,576KB
For dumping the 1GB over the wired network to the NAS, I’ve been able to get an average rate of about 27MB/s writing to the NAS. On the read side, I can get over 80MB/s read from the NAS. Enough to stream HD video. Of course, as the filesizes go down, the rate also drops off. For the transfer of the video it was more along the lines of under 60MB per second, and around 50MB/s for the audio files. Also, to note, I have my NAS setup for RAID1. For the wifi accesses, it’s slower of course. It peaks out at almost 7MB/s reading and about 5.5MB/s writing. That’s getting me almost 49Mb/s over the the wifi link.
The read is pretty close to what Synology is advertising (DS212j). They are saying that the DS212j can get 92MB/s read and about 50MB/s on the write. I’m not getting close to 50MB/s on the write. There may be some thing to it, or the protocol that they are using for their tests, which is Windows upload/download – probably SMB. At least as far as writes are concerned, the writes using AFP over NFS are faster, so I would expect that it could be closer to the numbers that they are giving.
One thing that I did notice is that I’m getting better throughput over the wifi link with my NFS buffers increased to 32K on both the read and the write side. My NFS mount options look like
resvport,atime,rsize=32768,wsize=32768. The resvport is so that OSX will connect to the standard NFS ports. You can also add the
insecure option to the exports file to allow it to accept connections from higher ports. It’s not really insecure, but that’s what the option implies.
network performance numbers