{"comment":{"url":"https://api.github.com/repos/krishnasrinivas/minio/comments/16853334","html_url":"https://github.com/krishnasrinivas/minio/commit/3a2d6056f5a057aaded7a6901d9bd23307bda4a0#commitcomment-16853334","id":16853334,"user":{"login":"harshavardhana","id":622699,"avatar_url":"https://avatars.githubusercontent.com/u/622699?v=3","gravatar_id":"","url":"https://api.github.com/users/harshavardhana","html_url":"https://github.com/harshavardhana","followers_url":"https://api.github.com/users/harshavardhana/followers","following_url":"https://api.github.com/users/harshavardhana/following{/other_user}","gists_url":"https://api.github.com/users/harshavardhana/gists{/gist_id}","starred_url":"https://api.github.com/users/harshavardhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshavardhana/subscriptions","organizations_url":"https://api.github.com/users/harshavardhana/orgs","repos_url":"https://api.github.com/users/harshavardhana/repos","events_url":"https://api.github.com/users/harshavardhana/events{/privacy}","received_events_url":"https://api.github.com/users/harshavardhana/received_events","type":"User","site_admin":false},"position":132,"line":87,"path":"pkg/fs/dir.go","commit_id":"3a2d6056f5a057aaded7a6901d9bd23307bda4a0","created_at":"2016-03-26T07:04:09Z","updated_at":"2016-03-26T07:04:09Z","body":"> 100KB isn't too less or too much, so chose it. Having it too less like 4K will mean more number of syscalls, on the other hand performance decreased with buffer size of 1M (do not know the reason) compared to 4K.\r\n> But with 100K tests did not show any performance degradation compared to 4K so kept it.\r\n\r\nYou can add this perhaps as a comment and along with making this as a outside constant. "}}