- 论坛徽章:
- 0
|
solaris 8/e3500.\r\n T3-raid5-LTO tape library.\r\n\r\ntar is pretty slow, 3Mbytes/second.\r\nI tried to speed up with:\r\ntar cvfb /dev/rmt/2 2048 /oradata/$ORACLE_SID\r\n\r\nfrom iostat, it seems much faster, that is ,10+M bytes per second.\r\nBut from iostat, I verified with truss and see it is doing 1M read/write.\r\n\r\nBut from iostat , I also noticed that, write per second to tape is much greater than read per second from disk.\r\n\r\n\r\n extended device statistics \r\n r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c2t6d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t0d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t2d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c1t4d1\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c1t4d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t1d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c0t3d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c4t1d1\r\n 21.4 0.0 17876.7 0.0 0.0 0.6 0.0 28.0 0 53 c4t1d0 --t3 storage\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c4t3d1\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c4t3d0\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c1t2d1\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c1t2d0\r\n 0.0 135.7 0.0 8172.3 0.0 0.7 0.0 4.8 0 66 rmt/2 --tape driver 1\r\n 0.0 151.6 0.0 9161.9 0.0 0.7 0.0 4.7 0 71 rmt/3 --tape driver 2\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 main-db4:vold(pid60\r\n 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 192.168.200.240:/oracle\r\n\r\n\r\nHow can this happen? Does it means that the tape is actually doing smaller block write? How to verify it and change it?(maybe tar get faster).\r\n\r\nThanks.\r\n\r\n[root@main-db4 /]# truss -p 1093\r\nwrite(3, \"ACCDBFC4A8D3DABEB1B2BFA3\".., 1048576) = 1048576\r\nread(9, \" \".., 1048576) = 1048576\r\nwrite(3, \" \".., 1048576) = 1048576\r\nread(9, \"B7C0D6E5A1A2ECEED6E5C3C0\".., 1048576) = 1048576\r\nwrite(3, \"B7C0D6E5A1A2ECEED6E5C3C0\".., 1048576) = 1048576\r\nread(9, \"C9FA CEDED0EBBEB9BCDBA3\".., 1048576) = 1048576\r\nwrite(3, \"C9FA CEDED0EBBEB9BCDBA3\".., 1048576) = 1048576\r\nread(9, \"C2\\t018001800180 ,\\01805\".., 1048576) = 1048576\r\nwrite(3, \"C2\\t018001800180 ,\\01805\".., 1048576) = 1048576\r\nread(9, \"D0D0D2BCCDF2CCD7D5E4B2D8\".., 1048576) = 1048576\r\nwrite(3, \"D0D0D2BCCDF2CCD7D5E4B2D8\".., 1048576) = 1048576\r\nread(9, \" \".., 1048576) = 1048576\r\nwrite(3, \" \".., 1048576) = 1048576\r\nread(9, \" K01 314CAD7B6BCB5E7D3B0\".., 1048576) = 1048576\r\nwrite(3, \" K01 314CAD7B6BCB5E7D3B0\".., 1048576) = 1048576\r\nread(9, \"C1\\n84C8ABD0C2B8DFC4DCB0\".., 1048576) = 1048576\r\nwrite(3, \"C1\\n84C8ABD0C2B8DFC4DCB0\".., 1048576) = 1048576\r\nread(9, \"C8D5C4DACEB4CAD5B5BDC8CE\".., 1048576) = 1048576\r\nwrite(3, \"C8D5C4DACEB4CAD5B5BDC8CE\".., 1048576) = 1048576\r\nread(9, \" 2 6 \\ 2 . 1 G \\BBAACBB6\".., 1048576) = 1048576\r\nwrite(3, \" 2 6 \\ 2 . 1 G \\BBAACBB6\".., 1048576) = 1048576 |
|