SSブログ
エステ
前の10件 | -

最近のsmb.conf [Samba]

最近、NetatalkからSambaに傾きつつあるファイルサーバでのsmb.confメモ。(それでもやっぱりnetatalkがsambaよりも圧倒的に早い。体感的にも。だから結局、netatalkに戻るのだけれども。。) 

max protocol = SMB2

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536

を設定してあげると、それなりに早くなる。

samba4.0系の方が3.6系よりも早いけれども、インストールが面倒なのと、イマイチ安定していなかったこともあり、3.6系に戻す。 

 

Wired LANで、MacBook Pro Retina model Late2013との接続でのベンチマーク結果。 

QuickBench(TM) 4.0 Test Results

ゥ2000-2007 Intech Software Corp.

Test file created on 2013年 12月 4日 水曜日 at 11:31:48 PM

Test Volume Name: Share

Test Volume Type: Windows Sharing (SMB/CIFS)

Test Volume Size: 5.372 Terabytes

Test Volume Free Space: 2.267 Terabytes

Allow Disk Cache Effects: Disabled

All reads and writes performed sychronously

Standard Test Results:

Test Cycles: 1 

Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write

   4 KBytes      5.339 MB/Sec      2.441 MB/Sec      6.116 MB/Sec      3.078 MB/Sec

   8 KBytes      9.818 MB/Sec      4.577 MB/Sec      9.220 MB/Sec      6.355 MB/Sec

  16 KBytes      16.077 MB/Sec     8.549 MB/Sec      16.082 MB/Sec     11.324 MB/Sec

  32 KBytes      25.983 MB/Sec     10.795 MB/Sec     26.314 MB/Sec     13.344 MB/Sec

  64 KBytes      38.219 MB/Sec     15.543 MB/Sec     38.872 MB/Sec     24.225 MB/Sec

 128 KBytes      44.659 MB/Sec     29.375 MB/Sec     45.290 MB/Sec     35.825 MB/Sec

 256 KBytes      49.092 MB/Sec     44.630 MB/Sec     49.749 MB/Sec     47.832 MB/Sec

 512 KBytes      70.361 MB/Sec     57.709 MB/Sec     78.113 MB/Sec     68.398 MB/Sec

1024 KBytes      87.999 MB/Sec     62.801 MB/Sec     86.561 MB/Sec     72.147 MB/Sec

Standard Ave     38.616 MB/Sec     26.269 MB/Sec     39.591 MB/Sec     31.392 MB/Sec

 

smb.confは今のところこんな感じで。 

[global]

        dos charset = CP932

        display charset = UTF-8

        netbios name = fS2-SMB2

        server string = %h Samba Server

        map to guest = Bad User

        obey pam restrictions = Yes

        pam password change = Yes

        passwd program = /usr/bin/passwd %u

        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

        unix password sync = Yes

        syslog = 0

log level = 1

        log file = /var/log/samba/log.%m

        max log size = 1000

        max xmit = 65535

        domain logons = Yes

        os level = 65

        preferred master = Yes

        dns proxy = No

        wins support = Yes

        panic action = /usr/share/samba/panic-action %d

        admin users = administrator

        create mask = 0774

        directory mask = 0754

        block size = 4096

veto files = /.DS_Store/Network Trash Folder/TheFindByContentFolder/TheVolumeSettingsFolder/Temporary Items/.TemporaryItems/.VolumeIcon.icns/Icon?/.FBCIndex/.FBCLockFolder/

        delete veto files = Yes

        ea support = Yes

        kernel oplocks = No

        oplocks = No

        level2 oplocks = No

        #vfs objects = streams_xattr

        null password = Yes

        guest account = nobody

        unix extensions = No

        printing = bsd

max protocol = SMB2

dfree cache time = 60

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536

 

[share]

        path = /st/share

        username = nao

        write list = nao

        read only = No

        write cache size = 262144

        hide dot files = No 


Sambaで、「一部の項目へのアクセス権がないため、操作は完了できません。」につける薬 [不具合・問題・解決方法?とか]

Ubuntu 10.04よりも後のディストリビューションというか、おそらくKernelではnetatalkでWriteのパフォーマンスがうまく引き出せないので、最近Sambaのチューニングもごりごりやってますが、そんな折、MacからSamba3.6系のファイルサーバにファイルをコピーしようとすると、「一部の項目へのアクセス権がないため、操作は完了できません。」と言うではないですか。これは3.5系の時にも遭遇してその時には解決できずに放っておいたのですが、なんとなく大丈夫そうなオプション設定を見つけました。

「一部の項目へのアクセス権がないため、操作は完了できません。」とMacとSambaの組み合わせで調べていると、大抵、

unix extensions = No

としろと言われるのですが、設定しても相変わらずというか前から設定しているので、困ったもので、[Global]オプションをいろいろオン・オフしながら調べてゆくと、

vfs objects = streams_xattr

でした。

この項目は、代替データストリームの保存先の設定ようですが、

kernel oplocks = Yes

共存できないようで、smb.confでは確かに、kernel oplocks = Noとしているので大丈夫なはずですが、うまくいってないようで、仕方なく、 vfs objects = streams_xattrをコメントアウトしました。これで一応エラー回避。そもそもMacからSambaを使うという時点で、いろいろ問題があるのですが。。 


WAB-I1750-PSベンチマーク [Benchmark]

エレコムのWAB-I1750-PSを手に入れましたので、レビューとベンチマークです。

WAB-I1750-PSはエレコムから発売された802.11ac対応アクセスポイントですが、法人向けというだけあり、ちょっと設定項目がマニアックです。

wab-i1750-ps.jpg 

 上の写真で、左側の枠的なものはアクセスポイントの入力端子に勝手にアクセスされないためのロック機構です。

 ポイントとしては、

・802.11ac draft、1300Mbps対応

→ AirMac Extreme ME918J/Aと同等です。 

・SNMP対応 

→ AirMac Extreme ME918J/Aでは非対応となりました。。残念。

・コンソールコマンドでの設定対応

→ すべてのAirMac Extremeで対応していないと思います。 

・PoEパススルー対応

→ すべてのAirMac Extremeで対応していないと思います。  

・マルチSSID対応

→ すべてのAirMac Extremeで対応していないと思います。

・VLAN対応

→ すべてのAirMac Extremeで対応していないと思います。 

・ 動作時温度:0〜50℃対応 

 → AirMac Extreme ME918J/Aでは、0〜35℃対応です。

これは手に入れないわけにはいきません。。

一点、WAB-I1750-PSでは最近の802.11ac対応アクセスポイントでよく対応しているビームフォーミングには対応していない模様。実際に、電波強度が家の中の場所によらず AirMac Extreme ME918J/Aの方がややよかったです。あと、残念なポイントは、壁掛けまたは平置きを想定して筐体が作られており、筐体側面がやや斜めになっているため、縦置きするのは不安定ですし、縦置きした際にLEDの向きとして非常に見にくくなってしまいます。

一方、WAB-I1750-PSはWMM設定、チャネル帯域幅設定、ガードインターバル、RTS Threshold、Fragment Thresholdなど設定項目が多彩です。

 さてベンチマークですが、Samba3.6系が動いているファイルサーバに対して実施しました。クライアントも802.11acに対応している、MacBook Pro Retina model Late2013です。 

 

AirMac Extreme ME918J/A

QuickBench(TM) 4.0 Test Results

ゥ2000-2007 Intech Software Corp.

Test file created on 2014年 1月 4日 土曜日 at 11:56:28 PM

Test Volume Name: share

Test Volume Type: Windows Sharing (SMB/CIFS)

Test Volume Size: 5.372 Terabytes

Test Volume Free Space: 2.247 Terabytes

Allow Disk Cache Effects: Disabled

All reads and writes performed sychronously

Standard Test Results:

Test Cycles: 1 

Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write

   4 KBytes      1.651 MB/Sec      0.478 MB/Sec      1.435 MB/Sec      0.756 MB/Sec

   8 KBytes      2.719 MB/Sec      1.023 MB/Sec      2.653 MB/Sec      1.493 MB/Sec

  16 KBytes      4.762 MB/Sec      1.573 MB/Sec      4.816 MB/Sec      2.856 MB/Sec

  32 KBytes      8.019 MB/Sec      2.933 MB/Sec      7.980 MB/Sec      5.105 MB/Sec

  64 KBytes      13.283 MB/Sec     5.934 MB/Sec      13.026 MB/Sec     7.585 MB/Sec

 128 KBytes      17.062 MB/Sec     8.544 MB/Sec      17.340 MB/Sec     10.729 MB/Sec

 256 KBytes      20.264 MB/Sec     12.002 MB/Sec     20.721 MB/Sec     12.788 MB/Sec

 512 KBytes      20.562 MB/Sec     14.496 MB/Sec     21.019 MB/Sec     14.910 MB/Sec

1024 KBytes      21.071 MB/Sec     15.269 MB/Sec     21.249 MB/Sec     15.869 MB/Sec

Standard Ave     12.155 MB/Sec     6.917 MB/Sec      12.249 MB/Sec     8.010 MB/Sec 

 

WAB-I1750-PS

QuickBench(TM) 4.0 Test Results

ゥ2000-2007 Intech Software Corp.

Test file created on 2014年 1月 5日 日曜日 at 0:12:43 AM

Test Volume Name: share

Test Volume Type: Windows Sharing (SMB/CIFS)

Test Volume Size: 5.372 Terabytes

Test Volume Free Space: 2.247 Terabytes

Allow Disk Cache Effects: Disabled

All reads and writes performed sychronously

Standard Test Results:

Test Cycles: 1 

Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write

   4 KBytes      1.971 MB/Sec      0.547 MB/Sec      2.005 MB/Sec      1.002 MB/Sec

   8 KBytes      3.862 MB/Sec      1.119 MB/Sec      3.917 MB/Sec      1.878 MB/Sec

  16 KBytes      7.337 MB/Sec      2.115 MB/Sec      7.810 MB/Sec      3.389 MB/Sec

  32 KBytes      11.109 MB/Sec     4.381 MB/Sec      11.018 MB/Sec     6.184 MB/Sec

  64 KBytes      17.124 MB/Sec     6.851 MB/Sec      19.299 MB/Sec     9.023 MB/Sec

 128 KBytes      22.772 MB/Sec     10.008 MB/Sec     22.146 MB/Sec     12.270 MB/Sec

 256 KBytes      29.438 MB/Sec     12.423 MB/Sec     27.516 MB/Sec     14.036 MB/Sec

 512 KBytes      30.443 MB/Sec     14.855 MB/Sec     28.948 MB/Sec     16.557 MB/Sec

1024 KBytes      31.895 MB/Sec     17.081 MB/Sec     29.787 MB/Sec     17.508 MB/Sec

Standard Ave     17.328 MB/Sec     7.709 MB/Sec      16.939 MB/Sec     9.094 MB/Sec 

 

Wired LAN

QuickBench(TM) 4.0 Test Results

ゥ2000-2007 Intech Software Corp.

Test file created on 2013年 12月 4日 水曜日 at 11:31:48 PM

Test Volume Name: Share

Test Volume Type: Windows Sharing (SMB/CIFS)

Test Volume Size: 5.372 Terabytes

Test Volume Free Space: 2.267 Terabytes

Allow Disk Cache Effects: Disabled

All reads and writes performed sychronously

Standard Test Results:

Test Cycles: 1 

Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write

   4 KBytes      5.339 MB/Sec      2.441 MB/Sec      6.116 MB/Sec      3.078 MB/Sec

   8 KBytes      9.818 MB/Sec      4.577 MB/Sec      9.220 MB/Sec      6.355 MB/Sec

  16 KBytes      16.077 MB/Sec     8.549 MB/Sec      16.082 MB/Sec     11.324 MB/Sec

  32 KBytes      25.983 MB/Sec     10.795 MB/Sec     26.314 MB/Sec     13.344 MB/Sec

  64 KBytes      38.219 MB/Sec     15.543 MB/Sec     38.872 MB/Sec     24.225 MB/Sec

 128 KBytes      44.659 MB/Sec     29.375 MB/Sec     45.290 MB/Sec     35.825 MB/Sec

 256 KBytes      49.092 MB/Sec     44.630 MB/Sec     49.749 MB/Sec     47.832 MB/Sec

 512 KBytes      70.361 MB/Sec     57.709 MB/Sec     78.113 MB/Sec     68.398 MB/Sec

1024 KBytes      87.999 MB/Sec     62.801 MB/Sec     86.561 MB/Sec     72.147 MB/Sec

Standard Ave     38.616 MB/Sec     26.269 MB/Sec     39.591 MB/Sec     31.392 MB/Sec

 

AirMac Extremeに比べて、若干WAB-I1750-PSの方がよさそうですね。 

その他設定項目などについてもかなり細かく設定することが可能で、半月ほど使ってみた現時点ではかなり満足度の高い製品です。入手前は、ネットワーク製品でエレコムを選ぶのは正直、かなり迷いましたが、いい形で裏切られました。

一点、WAB-I1750-PSのバグですが、NTPの設定が効いておらず、また、内部でRTCを持っていないためか再起動すると、9月1日にもどされてしまい、手動で設定変更を行う必要があります。(バージョン0.0.10にて)

ちなみに、WAB-I1750-PSはACアダプタが別売りのため、別途購入する必要がありますが、WAB-I1750-PS発売当初入手困難で、代替として、下記を入手しましたが、問題なく動作しました。PoE対応なので、別売りとしているのかと思いますが、別途調達はちょっと面倒ですね。 

 
 
マニュアル類はこちら。
 
 
 
ちなみに、sambaではなく、netatalk 3.1系ですと、
 
AirMac Extreme ME918J/A
QuickBench(TM) 4.0 Test Results
ゥ2000-2007 Intech Software Corp.
Test file created on 2014年 1月 6日 月曜日 at 0:20:49 AM
Test Volume Name: Share
Test Volume Type: AppleShare File System
Test Volume Size: 5.372 Terabytes
Test Volume Free Space: 2.246 Terabytes
Allow Disk Cache Effects: Disabled
All reads and writes performed sychronously
Standard Test Results:
Test Cycles: 1 
Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write
   4 KBytes      1.646 MB/Sec      0.538 MB/Sec      1.547 MB/Sec      0.618 MB/Sec
   8 KBytes      3.181 MB/Sec      0.918 MB/Sec      3.013 MB/Sec      1.133 MB/Sec
  16 KBytes      5.441 MB/Sec      0.943 MB/Sec      5.415 MB/Sec      2.184 MB/Sec
  32 KBytes      9.878 MB/Sec      3.663 MB/Sec      10.024 MB/Sec     4.116 MB/Sec
  64 KBytes      15.374 MB/Sec     6.428 MB/Sec      15.812 MB/Sec     6.961 MB/Sec
 128 KBytes      23.665 MB/Sec     12.250 MB/Sec     26.065 MB/Sec     11.255 MB/Sec
 256 KBytes      32.781 MB/Sec     9.012 MB/Sec      38.574 MB/Sec     12.697 MB/Sec
 512 KBytes      40.912 MB/Sec     11.330 MB/Sec     52.828 MB/Sec     17.891 MB/Sec
1024 KBytes      53.603 MB/Sec     33.734 MB/Sec     54.125 MB/Sec     30.612 MB/Sec
Standard Ave     20.720 MB/Sec     8.757 MB/Sec      23.045 MB/Sec     9.719 MB/Sec
 
 
WAB-I1750-PS
QuickBench(TM) 4.0 Test Results
ゥ2000-2007 Intech Software Corp.
Test file created on 2014年 1月 6日 月曜日 at 0:09:19 AM
Test Volume Name: Share
Test Volume Type: AppleShare File System
Test Volume Size: 5.372 Terabytes
Test Volume Free Space: 2.246 Terabytes
Allow Disk Cache Effects: Disabled
All reads and writes performed sychronously
Standard Test Results:
Test Cycles: 1 
Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write
   4 KBytes      2.488 MB/Sec      0.608 MB/Sec      2.476 MB/Sec      0.717 MB/Sec
   8 KBytes      4.961 MB/Sec      1.003 MB/Sec      4.776 MB/Sec      1.161 MB/Sec
  16 KBytes      9.519 MB/Sec      1.335 MB/Sec      9.505 MB/Sec      2.254 MB/Sec
  32 KBytes      13.428 MB/Sec     4.091 MB/Sec      13.583 MB/Sec     4.388 MB/Sec
  64 KBytes      21.097 MB/Sec     7.234 MB/Sec      20.750 MB/Sec     7.761 MB/Sec
 128 KBytes      30.478 MB/Sec     12.414 MB/Sec     24.741 MB/Sec     13.050 MB/Sec
 256 KBytes      40.778 MB/Sec     7.316 MB/Sec      40.908 MB/Sec     16.641 MB/Sec
 512 KBytes      49.321 MB/Sec     19.960 MB/Sec     53.039 MB/Sec     19.503 MB/Sec
1024 KBytes      63.194 MB/Sec     28.114 MB/Sec     58.161 MB/Sec     25.428 MB/Sec
Standard Ave     26.141 MB/Sec     9.119 MB/Sec      25.327 MB/Sec     10.100 MB/Sec
 
 
Wired LAN
QuickBench(TM) 4.0 Test Results
ゥ2000-2007 Intech Software Corp.
Test file created on 2014年 1月 6日 月曜日 at 0:44:02 AM
Test Volume Name: Share
Test Volume Type: AppleShare File System
Test Volume Size: 5.372 Terabytes
Test Volume Free Space: 2.246 Terabytes
Allow Disk Cache Effects: Disabled
All reads and writes performed sychronously
Standard Test Results:
Test Cycles: 1 
Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write
   4 KBytes      12.364 MB/Sec     1.036 MB/Sec      11.891 MB/Sec     0.776 MB/Sec
   8 KBytes      19.607 MB/Sec     1.650 MB/Sec      20.418 MB/Sec     1.449 MB/Sec
  16 KBytes      32.151 MB/Sec     1.868 MB/Sec      31.500 MB/Sec     2.925 MB/Sec
  32 KBytes      47.929 MB/Sec     6.218 MB/Sec      47.341 MB/Sec     5.462 MB/Sec
  64 KBytes      68.408 MB/Sec     8.947 MB/Sec      68.344 MB/Sec     9.968 MB/Sec
 128 KBytes      83.399 MB/Sec     16.647 MB/Sec     84.818 MB/Sec     20.067 MB/Sec
 256 KBytes      93.720 MB/Sec     28.009 MB/Sec     93.801 MB/Sec     26.020 MB/Sec
 512 KBytes      101.220 MB/Sec    30.550 MB/Sec     101.337 MB/Sec    28.221 MB/Sec
1024 KBytes      106.391 MB/Sec    48.607 MB/Sec     106.107 MB/Sec    41.029 MB/Sec
Standard Ave     62.799 MB/Sec     15.948 MB/Sec     62.840 MB/Sec     15.102 MB/Sec 
 
2014/1/22 追記
Firmware ver. 0.0.10 で無線、有線ともにレスポンスが 無くなることがありました。
0.0.14にバージョンアップしてしばらく様子を見ます。 

UUIDの調べ方 [Linux コマンド・設定 Memo]

最近のfstabはUUIDで指定するので、便利だけれども、mount pointを追加するときには、UUIDをいちいち調べないといけない。

ls -l /dev/disk/by-uuid | grep md0

lrwxrwxrwx 1 root root  9 Dec 17 00:24 6f72b6e1-0ea5-401f-88fc-78a2c12a2938 -> ../../md0

このUUIDを/etc/fstabに追記してあげるとよい。

UUID=6f72b6e1-0ea5-401f-88fc-78a2c12a2938       /st     ext4    errors=remount-ro       0       1

とか。 


AirMac Extreme ME918J/A ベンチマーク [Benchmark]

MacBook Pro 新調にともない、802.11ac 対応のAirMac Extreme(ME918J/A)を入手しました。 

 Half mini PCI 802.11acカードが流通していれば、自作のAccess Pointに組み込んだのですが、しばらく流通の目処が立たないので。。

ME918.jpeg

ローカルネットワークのファイルサーバーへのファイルアクセスについて、有線とAirMac Extremeで無線接続を行った場合のスピード比較を行いました。

有線はもちろん、1000Base-Tですが、MacBook Pro Retina model Late2013 には1000Base-Tの口がありませんから、Thunderbolt-Erthernet変換アダプタを利用しました。

Samba 4.0系でのベンチマークです。 

有線でのベンチマーク結果

QuickBench(TM) 4.0 Test Results

ゥ2000-2007 Intech Software Corp.

Test file created on 2013年 11月 7日 木曜日 at 9:41:40 PM

Test Volume Name: Share

Test Volume Type: Windows Sharing (SMB/CIFS)

Test Volume Size: 5.372 Terabytes

Test Volume Free Space: 2.268 Terabytes

Allow Disk Cache Effects: Disabled

All reads and writes performed sychronously

Standard Test Results:

Test Cycles: 1 

 

Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write

   4 KBytes      12.740 MB/Sec     1.041 MB/Sec      12.330 MB/Sec     0.865 MB/Sec

   8 KBytes      19.537 MB/Sec     1.419 MB/Sec      19.931 MB/Sec     1.544 MB/Sec

  16 KBytes      32.810 MB/Sec     2.745 MB/Sec      33.178 MB/Sec     2.976 MB/Sec

  32 KBytes      42.918 MB/Sec     5.363 MB/Sec      48.317 MB/Sec     6.223 MB/Sec

  64 KBytes      65.123 MB/Sec     8.980 MB/Sec      68.906 MB/Sec     9.777 MB/Sec

 128 KBytes      83.461 MB/Sec     17.666 MB/Sec     84.912 MB/Sec     20.039 MB/Sec

 256 KBytes      95.363 MB/Sec     12.659 MB/Sec     94.257 MB/Sec     26.016 MB/Sec

 512 KBytes      101.892 MB/Sec    28.470 MB/Sec     101.770 MB/Sec    29.953 MB/Sec

1024 KBytes      106.491 MB/Sec    45.983 MB/Sec     106.285 MB/Sec    41.715 MB/Sec

Standard Ave     62.259 MB/Sec     13.814 MB/Sec     63.321 MB/Sec     15.457 MB/Sec 

 

AirMac Extreme でのベンチマーク結果

QuickBench(TM) 4.0 Test Results

ゥ2000-2007 Intech Software Corp.

Test file created on 2013年 10月 26日 土曜日 at 3:55:32 PM

Test Volume Name: Share

Test Volume Type: AppleShare File System

Test Volume Size: 5.372 Terabytes

Test Volume Free Space: 2.287 Terabytes

Allow Disk Cache Effects: Disabled

All reads and writes performed sychronously

Standard Test Results:

Test Cycles: 1 

 

Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write

   4 KBytes      1.636 MB/Sec      0.548 MB/Sec      1.555 MB/Sec      0.571 MB/Sec

   8 KBytes      3.238 MB/Sec      0.941 MB/Sec      3.090 MB/Sec      0.961 MB/Sec

  16 KBytes      5.315 MB/Sec      1.713 MB/Sec      5.355 MB/Sec      2.142 MB/Sec

  32 KBytes      9.760 MB/Sec      3.325 MB/Sec      9.994 MB/Sec      3.691 MB/Sec

  64 KBytes      14.758 MB/Sec     6.174 MB/Sec      15.660 MB/Sec     6.763 MB/Sec

 128 KBytes      22.569 MB/Sec     11.808 MB/Sec     24.645 MB/Sec     11.932 MB/Sec

 256 KBytes      29.993 MB/Sec     18.232 MB/Sec     37.477 MB/Sec     19.209 MB/Sec

 512 KBytes      28.714 MB/Sec     12.232 MB/Sec     48.537 MB/Sec     22.106 MB/Sec

1024 KBytes      42.862 MB/Sec     32.555 MB/Sec     49.548 MB/Sec     28.223 MB/Sec

Standard Ave     17.649 MB/Sec     9.725 MB/Sec      21.762 MB/Sec     10.622 MB/Sec

 

自作の802.11aのアクセスポイントでのベンチマークは、

QuickBench(TM) 4.0 Test Results

ゥ2000-2007 Intech Software Corp.

Test file created on 2013年 10月 26日 土曜日 at 4:24:00 PM

Test Volume Name: Share

Test Volume Type: AppleShare File System

Test Volume Size: 5.372 Terabytes

Test Volume Free Space: 2.287 Terabytes

Allow Disk Cache Effects: Disabled

All reads and writes performed sychronously

Standard Test Results:

Test Cycles: 1 

 

Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write

   4 KBytes      2.569 MB/Sec      0.612 MB/Sec      2.120 MB/Sec      0.561 MB/Sec

   8 KBytes      4.147 MB/Sec      0.975 MB/Sec      4.067 MB/Sec      1.121 MB/Sec

  16 KBytes      7.330 MB/Sec      1.298 MB/Sec      7.538 MB/Sec      2.217 MB/Sec

  32 KBytes      11.678 MB/Sec     3.338 MB/Sec      11.596 MB/Sec     4.028 MB/Sec

  64 KBytes      15.894 MB/Sec     6.286 MB/Sec      15.574 MB/Sec     6.403 MB/Sec

 128 KBytes      19.720 MB/Sec     10.899 MB/Sec     20.433 MB/Sec     10.507 MB/Sec

 256 KBytes      24.148 MB/Sec     14.857 MB/Sec     24.317 MB/Sec     13.853 MB/Sec

 512 KBytes      25.852 MB/Sec     17.836 MB/Sec     26.540 MB/Sec     14.927 MB/Sec

1024 KBytes      27.818 MB/Sec     10.776 MB/Sec     28.108 MB/Sec     17.807 MB/Sec

Standard Ave     15.462 MB/Sec     7.431 MB/Sec      15.588 MB/Sec     7.936 MB/Sec 

802.11a のアクセスポイントと比べて、全体的にパフォーマンスが上がっています。

SNMPが仕様から省かれてしまっているのが残念ですが、電源内蔵やビームフォーミングなど魅力も満載です。

 

APPLE AirMac Extreme ME918J/A

APPLE AirMac Extreme ME918J/A

  • 出版社/メーカー: アップル
  • メディア: Personal Computers

 

 


タグ:レビュー

Updating netatalk 3.0.4 to 3.1.0 [Netatalk]

10月28日にNetatalk 3.1.0がreleaseされましたので、updateしました。

Debian6.0です。

 

変更点はこちら

Updateはいつもと同じ。

 
# tar zxvf netatalk-3.1.0.tar.gz 
 
# cd netatalk-3.1.0
 
# ./configure \
        --with-init-style=debian \
        --with-cracklib \
        --enable-krbV-uam \
        --with-pam-confdir=/etc/pam.d \
        --with-dbus-sysconf-dir=/etc/dbus-1/system.d
 
# make
 

# make install 

 

configのオプションから、

        --without-libevent \

を削除しました。makeでerrorをはいて止まってしまいましたので。

netatalk.c:46:26: error: event2/event.h: No such file or directory

netatalk.c: In function 'libevent_logmsg_cb':

netatalk.c:116: error: '_EVENT_LOG_DEBUG' undeclared (first use in this function)

netatalk.c:116: error: (Each undeclared identifier is reported only once

netatalk.c:116: error: for each function it appears in.)

netatalk.c:119: error: '_EVENT_LOG_MSG' undeclared (first use in this function)

netatalk.c:122: error: '_EVENT_LOG_WARN' undeclared (first use in this function)

netatalk.c:125: error: '_EVENT_LOG_ERR' undeclared (first use in this function)

netatalk.c: At top level:

netatalk.c:139: error: expected ')' before 'fd'

netatalk.c:170: error: expected ')' before 'fd'

netatalk.c:180: error: expected ')' before 'fd'

netatalk.c:187: error: expected ')' before 'fd'

netatalk.c:220: error: expected ')' before 'fd'

netatalk.c: In function 'main':

netatalk.c:356: warning: implicit declaration of function 'event_set_log_callback'

netatalk.c:357: warning: implicit declaration of function 'event_set_fatal_callback'

netatalk.c:371: warning: implicit declaration of function 'event_base_new'

netatalk.c:371: warning: assignment makes pointer from integer without a cast

netatalk.c:376: warning: implicit declaration of function 'event_new'

netatalk.c:376: error: 'EV_SIGNAL' undeclared (first use in this function)

netatalk.c:376: error: 'sigterm_cb' undeclared (first use in this function)

netatalk.c:377: error: 'EV_PERSIST' undeclared (first use in this function)

netatalk.c:377: error: 'sigquit_cb' undeclared (first use in this function)

netatalk.c:378: error: 'sighup_cb' undeclared (first use in this function)

netatalk.c:379: error: 'sigchld_cb' undeclared (first use in this function)

netatalk.c:380: error: 'timer_cb' undeclared (first use in this function)

netatalk.c:385: warning: implicit declaration of function 'event_add'

netatalk.c:426: warning: implicit declaration of function 'event_base_dispatch'

make[3]: *** [netatalk-netatalk.o] Error 1

make[3]: Leaving directory `/home/nao/netatalk-3.1.0/etc/netatalk'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/nao/netatalk-3.1.0/etc'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/nao/netatalk-3.1.0'

make: *** [all] Error 2 

 

Netatalkを再起動して、versionを確認。

# /usr/local/sbin/afpd -V

afpd 3.1.0 - Apple Filing Protocol (AFP) daemon of Netatalk

This program is free software; you can redistribute it and/or modify it under

the terms of the GNU General Public License as published by the Free Software

Foundation; either version 2 of the License, or (at your option) any later

version. Please see the file COPYING for further information and details.

afpd has been compiled with support for these features:

 

          AFP versions: 2.2 3.0 3.1 3.2 3.3 

         CNID backends: dbd last tdb 

      Zeroconf support: Avahi

  TCP wrappers support: Yes

         Quota support: Yes

   Admin group support: Yes

    Valid shell checks: Yes

      cracklib support: Yes

            EA support: ad | sys

           ACL support: Yes

          LDAP support: Yes

         D-Bus support: Yes

         DTrace probes: Yes

 

              afp.conf: /usr/local/etc/afp.conf

           extmap.conf: /usr/local/etc/extmap.conf

       state directory: /usr/local/var/netatalk/

    afp_signature.conf: /usr/local/var/netatalk/afp_signature.conf

      afp_voluuid.conf: /usr/local/var/netatalk/afp_voluuid.conf

       UAM search path: /usr/local/lib/netatalk//

  Server messages path: /usr/local/var/netatalk/msg/

 

Benchmarkをとりましたが、相変わらずですね。Writeが遅いです。

Before update

QuickBench(TM) 4.0 Test Results

ゥ2000-2007 Intech Software Corp.

Test file created on 2013年 11月 4日 月曜日 at 1:50:29 AM

Test Volume Name: Share

Test Volume Type: AppleShare File System

Test Volume Size: 5.372 Terabytes

Test Volume Free Space: 2.268 Terabytes

Allow Disk Cache Effects: Disabled

All reads and writes performed sychronously

Standard Test Results:

Test Cycles: 1 

Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write

   4 KBytes      8.944 MB/Sec      0.958 MB/Sec      8.716 MB/Sec      0.820 MB/Sec

   8 KBytes      14.848 MB/Sec     1.414 MB/Sec      15.133 MB/Sec     1.527 MB/Sec

  16 KBytes      25.937 MB/Sec     1.559 MB/Sec      27.581 MB/Sec     3.070 MB/Sec

  32 KBytes      30.844 MB/Sec     4.588 MB/Sec      46.660 MB/Sec     5.430 MB/Sec

  64 KBytes      53.047 MB/Sec     8.039 MB/Sec      59.093 MB/Sec     9.389 MB/Sec

 128 KBytes      68.974 MB/Sec     14.427 MB/Sec     77.130 MB/Sec     15.685 MB/Sec

 256 KBytes      88.916 MB/Sec     8.808 MB/Sec      88.624 MB/Sec     24.258 MB/Sec

 512 KBytes      97.596 MB/Sec     10.851 MB/Sec     97.410 MB/Sec     29.776 MB/Sec

1024 KBytes      103.478 MB/Sec    46.318 MB/Sec     103.861 MB/Sec    41.339 MB/Sec

Standard Ave     54.732 MB/Sec     10.774 MB/Sec     58.245 MB/Sec     14.588 MB/Sec

 

After update

QuickBench(TM) 4.0 Test Results

ゥ2000-2007 Intech Software Corp.

Test file created on 2013年 11月 4日 月曜日 at 1:24:00 PM

Test Volume Name: Share

Test Volume Type: AppleShare File System

Test Volume Size: 5.372 Terabytes

Test Volume Free Space: 2.268 Terabytes

Allow Disk Cache Effects: Disabled

All reads and writes performed sychronously

Standard Test Results:

Test Cycles: 1 

Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write

   4 KBytes      9.886 MB/Sec      1.082 MB/Sec      8.510 MB/Sec      0.857 MB/Sec

   8 KBytes      17.513 MB/Sec     1.267 MB/Sec      15.625 MB/Sec     1.635 MB/Sec

  16 KBytes      28.207 MB/Sec     2.073 MB/Sec      27.114 MB/Sec     3.000 MB/Sec

  32 KBytes      47.079 MB/Sec     5.614 MB/Sec      47.065 MB/Sec     5.889 MB/Sec

  64 KBytes      58.109 MB/Sec     8.933 MB/Sec      58.669 MB/Sec     10.204 MB/Sec

 128 KBytes      80.007 MB/Sec     17.238 MB/Sec     77.818 MB/Sec     19.401 MB/Sec

 256 KBytes      90.333 MB/Sec     26.260 MB/Sec     88.460 MB/Sec     24.418 MB/Sec

 512 KBytes      98.393 MB/Sec     26.369 MB/Sec     98.354 MB/Sec     28.915 MB/Sec

1024 KBytes      103.897 MB/Sec    49.410 MB/Sec     104.120 MB/Sec    41.511 MB/Sec

Standard Ave     59.269 MB/Sec     15.361 MB/Sec     58.415 MB/Sec     15.092 MB/Sec

 

MarveriksでBenchmarkとりましたが、特に問題もなくです。 


WD TV Live レビュー [Media Player]

PAV-MP1 や LT-V100、 XBMCなどを経て、今回はWD TV Liveを使ったのでそのレビューを。
セットアップは簡単。
ファームウェアのアップデートも10分程度で完了。 
61AAGY-Np9L._AA1500_.jpg
 
Huluに対応しているメディアプレーヤーがほしく、Apple TVとの比較で、最終的にはWD TV Liveをチョイス。
 
Apple ハイビジョン対応 Apple TV MD199J/A

Apple ハイビジョン対応 Apple TV MD199J/A

  • 出版社/メーカー: アップル
  • メディア: エレクトロニクス
 
Apple TVを選ばなかった理由としては、DVD ISOを再生できないこと。
それにつきます。
古いApple TVならXBMCを入れてDVD ISOを再生できますが、Huluが再生できないので、NG。 
 
スペック
  
サイズ
幅125×奥行き100×高さ30mm, 190g
 
インターフェース
SDPI, HDMI, USB2.0 x 2
 
サポートされているファイルフォーマット
Video - AVI (Xvid、AVC、MPEG1/2/4)、MPG/MPEG、VOB、MKV (h.264、x.264、AVC、MPEG1/2/4、VC-1)、TS/TP/M2T (MPEG1/2/4、AVC、VC-1)、MP4/MOV (MPEG4、h.264)、M2TS、WMV9、FLV (h.264)
Photo - JPEG、GIF、TIF/TIFF、BMP、PNG
Audio - MP3、WAV/PCM/LPCM、WMA、AAC、FLAC、MKA、AIF/AIFF、OGG、Dolby Digital、DTS
Playlist - PLS、M3U、WPL
Subtitle - SRT、ASS、SSA、SUB、SMI

 
WD TV Liveの良いところ
・対応しているファイルフォーマットの多さ、特にDVD ISO。BDMVには対応していない模様 
・Huluをはじめ多くのオンラインサービスに対応している
・無線LANに対応、もちろん有線LANも有り
・リモコンがプログラム可能
・HDMI CECでTVのリモコンから操作が可能
・実は、DTCP-IPにも対応しているため、他のDTCP-IPに対応したレコーダーで録画された番組の視聴が可能 
・iPhoneやAndroid対応のリモコンアプリがちょっと便利 
・Sling Playerに対応 
・かなりコンパクト 
・HFS+に対応 
・それなりに定期的にファームアップデートが提供されている
 
 
WD TV Liveの要改善なところ
無線LAN接続の場合、DVD ISO再生時に途切れることがある、802.11aにも対応してほしい (これはアクセスポイント側の802.11b/gのスピードが遅いことが原因で途切れることが、後日判明。)
・設定などのインターフェースがもう少しわかりやすくなると吉
・TVのリモコンからだと動きがもっさり、反応にひと呼吸必要 
設定があるのかよくわかりませんが(一応、設定項目があるのですが、効きません)、数時間でSleepに入ってしまい、次回視聴時にトップ画面から辿り直す必要があり、めんどくさい。(2013/11/4追記) 
実はこれ、CECを設定しているため、TVをオフにすると、WD TV Liveもオフになるという現象でした。(2014/1/6追記) 
・Huluを使っていますが、ショートカットがほしい。(Huluのダメダメインターフェースとの相乗効果でとても使いにくい。) (2013/11/4追記)
 

 
 
マニュアルはここ。 

タグ:review 比較

新しいファイルサーバ構築の顛末 [Netatalk]

今まで使ってきたファイルサーバの残り容量が少なくなってきたので、これを機に新しいファイルサーバを構築することにしました。がNetatalkの本来のパフォーマンスがなかなか出ず、苦しむことに。。その顛末。
2013/3〜5月ころにかけて謎といていましたが、そのまとめ、というか当時のメモのまとめ。
もうちょっと忘れているけど。。

新しいファイルサーバのスペックは

HDD             SATA3.0 ST3000DM001/N
M/B              SUPERMICRO X9SBAA-F
 

Seagate 3.5inch 3.0TB 7200rpm 64MBキャッシュ SATA3.0 ST3000DM001/N

Seagate 3.5inch 3.0TB 7200rpm 64MBキャッシュ SATA3.0 ST3000DM001/N

  • 出版社/メーカー: Seagate
  • メディア: Personal Computers
 
箱はこれ、ZNSC-400P
 5155_l.jpg
 
見た目は専用NASケースライクでよいのですが、開閉などの機構や細部は10年前くらい前のケースを思いだすレベル。手をケガしました。。 
 
 

新しいファイルサーバでNetatalk 3.0.3をubuntu13.04, 12.10, 12.04.02, Debian7 へインストールし、ベンチマークを取るが、いずれの場合でもHDDのwriteが異様に遅い。特に小さいファイルについては、期待値の1/20以下。
 
ベンチマークは、新しいファイルサーバとMacBook Proとを有線LANで接続し、いくつかのベンチマークソフトで計測。 

■古いファイルサーバでのベンチマーク結果
QuickBench(TM) 4.0 Test Results
ゥ2000-2007 Intech Software Corp.
Test file created on 2013年 4月 13日 土曜日 at 11:13:59 PM
Test Volume Name: nao
Test Volume Type: AppleShare File System
Test Volume Size: 3.581 Terabytes
Test Volume Free Space: 861.068 Gigabytes
Allow Disk Cache Effects: Disabled
All reads and writes performed sychronously

Standard Test Results:
Test Cycles: 1 

Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write

   4 KBytes      9.698 MB/Sec      2.135 MB/Sec      9.451 MB/Sec      1.340 MB/Sec
   8 KBytes      17.009 MB/Sec     3.916 MB/Sec      21.797 MB/Sec     2.718 MB/Sec
  16 KBytes      25.479 MB/Sec     6.938 MB/Sec      25.523 MB/Sec     2.813 MB/Sec
  32 KBytes      41.984 MB/Sec     11.211 MB/Sec     44.699 MB/Sec     4.190 MB/Sec
  64 KBytes      58.714 MB/Sec     11.612 MB/Sec     58.219 MB/Sec     7.746 MB/Sec
 128 KBytes      77.303 MB/Sec     25.337 MB/Sec     78.238 MB/Sec     12.518 MB/Sec
 256 KBytes      82.941 MB/Sec     25.876 MB/Sec     84.474 MB/Sec     18.964 MB/Sec
 512 KBytes      96.145 MB/Sec     28.143 MB/Sec     96.168 MB/Sec     11.447 MB/Sec
1024 KBytes      104.300 MB/Sec    34.597 MB/Sec     104.021 MB/Sec    30.888 MB/Sec

Standard Ave     57.064 MB/Sec     16.641 MB/Sec     58.066 MB/Sec     10.292 MB/Sec


■新しいファイルサーバでのベンチマーク結果

QuickBench(TM) 4.0 Test Results
ゥ2000-2007 Intech Software Corp.
Test file created on 2013年 4月 14日 日曜日 at 1:07:47 AM
Test Volume Name: share
Test Volume Type: AppleShare File System
Test Volume Size: 5.414 Terabytes
Test Volume Free Space: 5.398 Terabytes
Allow Disk Cache Effects: Disabled
All reads and writes performed sychronously

Standard Test Results:
Test Cycles: 1 

Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write

   4 KBytes      8.162 MB/Sec      0.097 MB/Sec      7.873 MB/Sec      0.095 MB/Sec
   8 KBytes      14.103 MB/Sec     0.181 MB/Sec      13.482 MB/Sec     0.189 MB/Sec
  16 KBytes      8.469 MB/Sec      0.358 MB/Sec      24.439 MB/Sec     0.375 MB/Sec
  32 KBytes      44.139 MB/Sec     0.725 MB/Sec      5.871 MB/Sec      0.725 MB/Sec
  64 KBytes      58.049 MB/Sec     1.412 MB/Sec      57.801 MB/Sec     1.478 MB/Sec
 128 KBytes      61.821 MB/Sec     2.716 MB/Sec      61.199 MB/Sec     2.661 MB/Sec
 256 KBytes      66.164 MB/Sec     5.042 MB/Sec      66.107 MB/Sec     5.349 MB/Sec
 512 KBytes      91.826 MB/Sec     8.848 MB/Sec      96.652 MB/Sec     8.945 MB/Sec
1024 KBytes      103.316 MB/Sec    12.717 MB/Sec     102.547 MB/Sec    12.684 MB/Sec

Standard Ave     50.672 MB/Sec     3.566 MB/Sec      48.441 MB/Sec     3.611 MB/Sec

う〜ん、、という結果。。

そこでいろいろと、Software/Hardwareのmixを変えて、原因を突き止めることに。


1. Sambaでベンチマーク、チューニングなし
-> read/write共に問題なし
-> とすると、netatalk3.0.xに問題?
 
 
2. netatalk2.2.xでベンチマーク、チューニングなし
-> やはり、writeが遅い
-> sambaでのファイル共有時にはベンチマーク結果が問題ないことと、ローカルでのHDDのベンチマークの結果に問題ないことから、netatalkと特定の何かの組み合わせで発生する問題の可能性。
・ netatalk2.2.x, 3.0.3に共通する仕組みと現状のnetwork/hardware/OS/softwareなどの機能または設定との組み合わせで発生する問題か?
-> HDD4台を旧ファイルサーバ(ubuntu 10.04)でRAIDで認識させた際のWriteに問題なし。
-> MBを交換しても、writeは遅い
-> 最近のubuntuの問題か?
-> 旧ファイルサーバでは問題が発生していないので、旧ファイルサーバとの構成を比較する

-> 

構成             新ファイルサーバ             旧ファイルサーバ
OS               Debian6.0                          Ununtu10.04
                    Ubuntu13.04
                    Ubuntu12.10
                    Ubuntu12.04.02
                    4パターンで確認

HDD             SATA3.0 ST3000DM001/N    HGST Deskstar 7K2000HDS722020ALA330

M/B              ASROCK E350M1               Intel Desk Top Board G45FC BOXDG45FC
                     SUPERMICRO X9SBAA-F
                     2パターンで確認

-> OSやM/Bを変更した構成でも改善せず。
-> クリーンインストールの状態でも発生するので、software matterならmdadmか?
 
 
3. RAIDボリュームを崩して、素の状態でベンチマーク
-> やはりwriteが遅い
-> mdadmは関係ない
 
 
4.大きなHDDではありえる、4Kセクタの問題か?
古いファイルサーバのHDDを新しいファイルサーバにもってきてもWriteが遅いので、関係なし。 
HDDのCacheなどの設定も関係なし。
 
 
5. OSの問題か?
古いDistributionで試してみる
Ubuntu 10.04が最近のM/Bにインストールできない。。
たしか、言語のselectionの後ぐらいで、フリーズしてしまったような、、3ヶ月も前のことなので忘れ気味ですが。。
仕方ないので、Debian 6.0をインストール。
こっちもなにやらトラブっていましたが、なんとかインストールできたみたい。記憶から薄い。。

QuickBench(TM) 4.0 Test Results
ゥ2000-2007 Intech Software Corp.
Test file created on 2013年 6月 5日 水曜日 at 10:44:10 PM
Test Volume Name: Share
Test Volume Type: AppleShare File System
Test Volume Size: 5.372 Terabytes
Test Volume Free Space: 2.571 Terabytes
Allow Disk Cache Effects: Disabled
All reads and writes performed sychronously

Standard Test Results:
Test Cycles: 1 

Transfer Size   Sequential Read   Sequential Write    Random Read      Random Write

   4 KBytes      13.585 MB/Sec     0.685 MB/Sec      10.407 MB/Sec     1.034 MB/Sec
   8 KBytes      20.359 MB/Sec     0.986 MB/Sec      15.218 MB/Sec     2.081 MB/Sec
  16 KBytes      31.542 MB/Sec     2.672 MB/Sec      27.756 MB/Sec     3.663 MB/Sec
  32 KBytes      47.401 MB/Sec     5.824 MB/Sec      43.974 MB/Sec     6.648 MB/Sec
  64 KBytes      60.857 MB/Sec     9.368 MB/Sec      67.024 MB/Sec     11.789 MB/Sec
 128 KBytes      81.043 MB/Sec     17.940 MB/Sec     78.084 MB/Sec     17.703 MB/Sec
 256 KBytes      88.710 MB/Sec     16.081 MB/Sec     91.061 MB/Sec     31.123 MB/Sec
 512 KBytes      95.200 MB/Sec     13.058 MB/Sec     89.745 MB/Sec     27.685 MB/Sec
1024 KBytes      104.821 MB/Sec    50.395 MB/Sec     102.737 MB/Sec    43.264 MB/Sec

Standard Ave     60.391 MB/Sec     13.001 MB/Sec     58.445 MB/Sec     16.110 MB/Sec

結果、Writeのパフォーマンスがよくなった。
根本的な原因はよくわからないが、Hardware matterではなく、OS周りで、DistributionというよりはKernelのバージョンとかそこら辺との組み合わせで発生するのかも。というぼんやりしたところで、Closeとする。
Sequential Writeがまだまだ遅いんだけどな。。。 

実際のところは、「3. RAIDボリュームを崩して、素の状態でベンチマーク」にたどり着くまでに、RAIDの設定に問題があるんじゃないかと、設定を試行錯誤し、結局、ここまでたどり着くのに2〜3ヶ月かかる。だらだらやってましたが。。
やっぱりassumptionが悪いと遠回りするよね、、ということ。 



毎回CD入れろといわれるので。。 [Linux コマンド・設定 Memo]

Debian7.0をインストールしましたが、apt-get install のたびに、
 
Media change: please insert the disc labeled
 'Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 CD Binary-1 20130504-14:44'
in the drive '/media/cdrom/' and press enter
 
といわれるので、 
 
# vi /etc/apt/sources.list
 
 
deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official amd64 CD Binary-1 20130504-14:44]/ wheezy main
 
行をコメント化。 

前の10件 | -

この広告は前回の更新から一定期間経過したブログに表示されています。更新すると自動で解除されます。