操作相对简单,只说明基本流程。
2.对于samba服务器设置权限,对于测试路径给予读写权限;
3.通过windows浏览samba地址后,建立网络映射路径;
4.此时就可以通过工具测试了,注意测试地址最少需要有80G的空间,测试目录最好为空。
测试速度与磁盘连接方式(如是通过SATA连接还是usb接口),磁盘格式(ext4 ,ntfs-3g挂载,ufsd挂载的),操作系统有关。
By default, when Samba receives these 1 byte "extension" write requests, it simply does a normal one-byte "sparse" write at the required position in the file. This is very fast, but only causes one file system block (the block "dirtied" by the one byte write) to be allocated. When the real data is finally written into the file, the blocks then have to be allocated for real on the file system. Because these blocks are not then allocated "in order" on the file system, as it were, these actual writes can be quite slow.
The most efficient way to allocate file system blocks when data is to be written into all of the file (for example, a streaming video write) is to allocate what is called an "extent" on the file system. Th