{"action":"created","issue":{"url":"https://api.github.com/repos/azizulhakim/beagleusb/issues/4","labels_url":"https://api.github.com/repos/azizulhakim/beagleusb/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/azizulhakim/beagleusb/issues/4/comments","events_url":"https://api.github.com/repos/azizulhakim/beagleusb/issues/4/events","html_url":"https://github.com/azizulhakim/beagleusb/issues/4","id":92361004,"number":4,"title":"Lazy update","user":{"login":"praveendath92","id":816666,"avatar_url":"https://avatars.githubusercontent.com/u/816666?v=3","gravatar_id":"","url":"https://api.github.com/users/praveendath92","html_url":"https://github.com/praveendath92","followers_url":"https://api.github.com/users/praveendath92/followers","following_url":"https://api.github.com/users/praveendath92/following{/other_user}","gists_url":"https://api.github.com/users/praveendath92/gists{/gist_id}","starred_url":"https://api.github.com/users/praveendath92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praveendath92/subscriptions","organizations_url":"https://api.github.com/users/praveendath92/orgs","repos_url":"https://api.github.com/users/praveendath92/repos","events_url":"https://api.github.com/users/praveendath92/events{/privacy}","received_events_url":"https://api.github.com/users/praveendath92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-01T11:44:52Z","updated_at":"2015-07-02T08:06:51Z","closed_at":null,"body":"Can you give additional info on the lazy update you mentioned in your [Week #5 update][1] ?\r\n\r\n\r\n\r\n\r\n[1]: https://groups.google.com/forum/#!topic/beagleboard-gsoc/rc0CvvjCM4o"},"comment":{"url":"https://api.github.com/repos/azizulhakim/beagleusb/issues/comments/117951843","html_url":"https://github.com/azizulhakim/beagleusb/issues/4#issuecomment-117951843","issue_url":"https://api.github.com/repos/azizulhakim/beagleusb/issues/4","id":117951843,"user":{"login":"azizulhakim","id":4654714,"avatar_url":"https://avatars.githubusercontent.com/u/4654714?v=3","gravatar_id":"","url":"https://api.github.com/users/azizulhakim","html_url":"https://github.com/azizulhakim","followers_url":"https://api.github.com/users/azizulhakim/followers","following_url":"https://api.github.com/users/azizulhakim/following{/other_user}","gists_url":"https://api.github.com/users/azizulhakim/gists{/gist_id}","starred_url":"https://api.github.com/users/azizulhakim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azizulhakim/subscriptions","organizations_url":"https://api.github.com/users/azizulhakim/orgs","repos_url":"https://api.github.com/users/azizulhakim/repos","events_url":"https://api.github.com/users/azizulhakim/events{/privacy}","received_events_url":"https://api.github.com/users/azizulhakim/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T08:06:51Z","updated_at":"2015-07-02T08:06:51Z","body":"In bone we have limited cache, so there are too many page faults. Though bone usb transfer speed is same to my laptop, still due to high page fault I've to send a lot of data. For example in laptop I've around 5000 page fault for a 7 second video, whereas in bone it is more than 20,000 page fault. So it takes more time to send the data which means you'll see a video playback time to be around 25 seconds whereas actual playback time is only 7 seconds.\r\n\r\nLet's assume I need 10ms to send one page over USB. Now by the time I'm done with this transfer, this same page is going to be updated 5 times. So after 10 ms I've 5 new page to transfer again. So the idea is to send only the most recent update, not all of them. This is lazy update. When I've a new page, I'll wait for a little with a hope that this page is going to be updated again. Off course we'll lose video quality a little by doing this, but given the situation we have to compromise a little. It seems reasonable to me. \r\n\r\nAny other suggestion is also welcome."}}