{"action":"created","issue":{"url":"https://api.github.com/repos/chrislusf/seaweedfs/issues/309","repository_url":"https://api.github.com/repos/chrislusf/seaweedfs","labels_url":"https://api.github.com/repos/chrislusf/seaweedfs/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/chrislusf/seaweedfs/issues/309/comments","events_url":"https://api.github.com/repos/chrislusf/seaweedfs/issues/309/events","html_url":"https://github.com/chrislusf/seaweedfs/issues/309","id":156859822,"number":309,"title":"Possible performance problems on some platforms","user":{"login":"LightCZ","id":5605432,"avatar_url":"https://avatars.githubusercontent.com/u/5605432?v=3","gravatar_id":"","url":"https://api.github.com/users/LightCZ","html_url":"https://github.com/LightCZ","followers_url":"https://api.github.com/users/LightCZ/followers","following_url":"https://api.github.com/users/LightCZ/following{/other_user}","gists_url":"https://api.github.com/users/LightCZ/gists{/gist_id}","starred_url":"https://api.github.com/users/LightCZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LightCZ/subscriptions","organizations_url":"https://api.github.com/users/LightCZ/orgs","repos_url":"https://api.github.com/users/LightCZ/repos","events_url":"https://api.github.com/users/LightCZ/events{/privacy}","received_events_url":"https://api.github.com/users/LightCZ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2016-05-25T21:58:05Z","updated_at":"2016-05-28T05:30:06Z","closed_at":null,"body":"As i said, we develop .NET client for seaweedFS but we see a pretty low performance on our testing deployment - so we did some tests.\r\n\r\nWe tried some testing environments, but mostly the test results are almost same. We tried launching everything on localhost with:\r\n\r\n> .\\weed.exe master -mdir=\"D:\\SeaweedFs\\Master\"\r\n> .\\weed.exe volume -mserver=\"localhost:9333\" -dir=\"D:\\SeaweedFs\\VData2\" -port=9101\r\n> .\\weed.exe volume -mserver=\"localhost:9333\" -dir=\"D:\\SeaweedFs\\VData2\" -port=9102\r\n> .\\weed.exe volume -mserver=\"localhost:9333\" -dir=\"D:\\SeaweedFs\\VData2\" -port=9103\r\n\r\nAlso we, tried simmilar setup on 3 Windows computers (one master and volume, two just volumes)\r\nAlso we, tried simmilar setup on 7 Linux computers (one master and volume, two just volumes)\r\n\r\nand we did tried benchmarking it:\r\n\r\nThe results are\r\n\r\n> Concurrency Level:      16\r\n> Time taken for tests:   486.478 seconds\r\n> Complete requests:      1048576\r\n> Failed requests:        0\r\n> Total transferred:      1106793636 bytes\r\n> Requests per second:    2155.44 [#/sec]\r\n> Transfer rate:          2221.79 [Kbytes/sec]\r\n> \r\n> Connection Times (ms)\r\n>               min      avg        max      std\r\n> Total:        1.4      7.4       94.5      2.7\r\n> \r\n> Percentage of the requests served within a certain time (ms)\r\n>    50%      6.9 ms\r\n>    66%      8.0 ms\r\n>    75%      8.5 ms\r\n>    80%      9.0 ms\r\n>    90%     11.0 ms\r\n>    95%     12.5 ms\r\n>    98%     14.5 ms\r\n>    99%     16.0 ms\r\n>   100%     94.5 ms\r\n\r\nAnd the readtest:\r\n> Concurrency Level:      16\r\n> Time taken for tests:   237.319 seconds\r\n> Complete requests:      1048576\r\n> Failed requests:        0\r\n> Total transferred:      1106781421 bytes\r\n> Requests per second:    4418.42 [#/sec]\r\n> Transfer rate:          4554.38 [Kbytes/sec]\r\n> \r\n\r\nWe do have major problem on that 7 linux machines setup since the write speed was ~320 items/sec and reading was almost ~700 items/sec. Its 2core machines, but we did some monitoring and... CPU is idling, HDD is idling, RAM is idling, Networking is idling... there is no reason for that slow performance... but yet it is that slow. This does not corresopnd with benchmark presented here on a single computer (not even close), so we must be doing something wrong.\r\n\r\nWe tried plenty of parameters of **-c** and **-size** in benchmark\r\nalso we did some experiments with **-max** in volumes but the results are almost same.\r\n\r\nWe also notice, that pretty much every volume except one is doing totally nothing during benchmark, which is, if I understand it correctly, the bad thing because the volume server should be targeted by random. We are using latest 0.70 version. We can reproduce this results almost everytime. Is there some kind of utility to see whats blocking SeaweedFs going more... faster?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/chrislusf/seaweedfs/issues/comments/222291269","html_url":"https://github.com/chrislusf/seaweedfs/issues/309#issuecomment-222291269","issue_url":"https://api.github.com/repos/chrislusf/seaweedfs/issues/309","id":222291269,"user":{"login":"chrislusf","id":1543151,"avatar_url":"https://avatars.githubusercontent.com/u/1543151?v=3","gravatar_id":"","url":"https://api.github.com/users/chrislusf","html_url":"https://github.com/chrislusf","followers_url":"https://api.github.com/users/chrislusf/followers","following_url":"https://api.github.com/users/chrislusf/following{/other_user}","gists_url":"https://api.github.com/users/chrislusf/gists{/gist_id}","starred_url":"https://api.github.com/users/chrislusf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrislusf/subscriptions","organizations_url":"https://api.github.com/users/chrislusf/orgs","repos_url":"https://api.github.com/users/chrislusf/repos","events_url":"https://api.github.com/users/chrislusf/events{/privacy}","received_events_url":"https://api.github.com/users/chrislusf/received_events","type":"User","site_admin":false},"created_at":"2016-05-28T05:30:06Z","updated_at":"2016-05-28T05:30:06Z","body":"This is the server side profile. It is also just slow in general.\r\n\r\n[pi_server.pdf](https://github.com/chrislusf/seaweedfs/files/287582/pi_server.pdf)\r\n"}}
{"actor":{"display_login":"chrislusf"}}