{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/13332","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/13332/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/13332/comments","events_url":"https://api.github.com/repos/apache/spark/issues/13332/events","html_url":"https://github.com/apache/spark/pull/13332","id":157053761,"number":13332,"title":"[SPARK-15569] Reduce frequency of updateBytesWritten function in Disk…","user":{"login":"sitalkedia","id":11507549,"avatar_url":"https://avatars.githubusercontent.com/u/11507549?v=3","gravatar_id":"","url":"https://api.github.com/users/sitalkedia","html_url":"https://github.com/sitalkedia","followers_url":"https://api.github.com/users/sitalkedia/followers","following_url":"https://api.github.com/users/sitalkedia/following{/other_user}","gists_url":"https://api.github.com/users/sitalkedia/gists{/gist_id}","starred_url":"https://api.github.com/users/sitalkedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sitalkedia/subscriptions","organizations_url":"https://api.github.com/users/sitalkedia/orgs","repos_url":"https://api.github.com/users/sitalkedia/repos","events_url":"https://api.github.com/users/sitalkedia/events{/privacy}","received_events_url":"https://api.github.com/users/sitalkedia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-05-26T18:55:47Z","updated_at":"2016-05-27T18:22:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/13332","html_url":"https://github.com/apache/spark/pull/13332","diff_url":"https://github.com/apache/spark/pull/13332.diff","patch_url":"https://github.com/apache/spark/pull/13332.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nProfiling a Spark job spilling large amount of intermediate data we found that significant portion of time is being spent in DiskObjectWriter.updateBytesWritten function. Looking at the code, we see that the function is being called too frequently to update the number of bytes written to disk. We should reduce the frequency to avoid this.\r\n\r\n## How was this patch tested?\r\n\r\nTested by running the job on cluster and saw 20% CPU gain  by this change."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/222218837","html_url":"https://github.com/apache/spark/pull/13332#issuecomment-222218837","issue_url":"https://api.github.com/repos/apache/spark/issues/13332","id":222218837,"user":{"login":"andrewor14","id":2133137,"avatar_url":"https://avatars.githubusercontent.com/u/2133137?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewor14","html_url":"https://github.com/andrewor14","followers_url":"https://api.github.com/users/andrewor14/followers","following_url":"https://api.github.com/users/andrewor14/following{/other_user}","gists_url":"https://api.github.com/users/andrewor14/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewor14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewor14/subscriptions","organizations_url":"https://api.github.com/users/andrewor14/orgs","repos_url":"https://api.github.com/users/andrewor14/repos","events_url":"https://api.github.com/users/andrewor14/events{/privacy}","received_events_url":"https://api.github.com/users/andrewor14/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T18:22:23Z","updated_at":"2016-05-27T18:22:23Z","body":"OK, looks good. Merging into master 2.0"}}
{"actor":{"display_login":"andrewor14"}}