{"action":"created","issue":{"url":"https://api.github.com/repos/monero-project/monero/issues/4218","repository_url":"https://api.github.com/repos/monero-project/monero","labels_url":"https://api.github.com/repos/monero-project/monero/issues/4218/labels{/name}","comments_url":"https://api.github.com/repos/monero-project/monero/issues/4218/comments","events_url":"https://api.github.com/repos/monero-project/monero/issues/4218/events","html_url":"https://github.com/monero-project/monero/pull/4218","id":347331467,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1OTc5Njcx","number":4218,"title":"Cryptonight variant 2","user":{"login":"SChernykh","id":15806605,"node_id":"MDQ6VXNlcjE1ODA2NjA1","avatar_url":"https://avatars0.githubusercontent.com/u/15806605?v=4","gravatar_id":"","url":"https://api.github.com/users/SChernykh","html_url":"https://github.com/SChernykh","followers_url":"https://api.github.com/users/SChernykh/followers","following_url":"https://api.github.com/users/SChernykh/following{/other_user}","gists_url":"https://api.github.com/users/SChernykh/gists{/gist_id}","starred_url":"https://api.github.com/users/SChernykh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SChernykh/subscriptions","organizations_url":"https://api.github.com/users/SChernykh/orgs","repos_url":"https://api.github.com/users/SChernykh/repos","events_url":"https://api.github.com/users/SChernykh/events{/privacy}","received_events_url":"https://api.github.com/users/SChernykh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":184,"created_at":"2018-08-03T09:47:47Z","updated_at":"2018-09-09T19:04:35Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/monero-project/monero/pulls/4218","html_url":"https://github.com/monero-project/monero/pull/4218","diff_url":"https://github.com/monero-project/monero/pull/4218.diff","patch_url":"https://github.com/monero-project/monero/pull/4218.patch"},"body":"Contains two modifications to improve ASIC resistance: shuffle and integer math.\r\n\r\nShuffle makes use of the whole 64-byte cache line instead of 16 bytes only, making Cryptonight 4 times more demanding for memory bandwidth.\r\n\r\nInteger math adds 64:32 bit integer division followed by 64 bit integer square root, adding large and unavoidable computational latency to the main loop.\r\n\r\nMore or less complete description of these changes and performance numbers are here: https://github.com/SChernykh/xmr-stak-cpu/blob/master/README.md\r\n\r\nDiscussion that preceded this pull request: https://github.com/SChernykh/xmr-stak-cpu/issues/1"},"comment":{"url":"https://api.github.com/repos/monero-project/monero/issues/comments/419737347","html_url":"https://github.com/monero-project/monero/pull/4218#issuecomment-419737347","issue_url":"https://api.github.com/repos/monero-project/monero/issues/4218","id":419737347,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTczNzM0Nw==","user":{"login":"olalawal","id":1463247,"node_id":"MDQ6VXNlcjE0NjMyNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/1463247?v=4","gravatar_id":"","url":"https://api.github.com/users/olalawal","html_url":"https://github.com/olalawal","followers_url":"https://api.github.com/users/olalawal/followers","following_url":"https://api.github.com/users/olalawal/following{/other_user}","gists_url":"https://api.github.com/users/olalawal/gists{/gist_id}","starred_url":"https://api.github.com/users/olalawal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olalawal/subscriptions","organizations_url":"https://api.github.com/users/olalawal/orgs","repos_url":"https://api.github.com/users/olalawal/repos","events_url":"https://api.github.com/users/olalawal/events{/privacy}","received_events_url":"https://api.github.com/users/olalawal/received_events","type":"User","site_admin":false},"created_at":"2018-09-09T19:04:35Z","updated_at":"2018-09-09T19:04:35Z","author_association":"NONE","body":"Any thoughts in doing what BCI interest did and intergrating ProgPow into you next fork? Basically keep your modifed algo and also intergrate ProgPow:\r\n\r\nyou ccould replace the keccak bits maybe to your variant of algo.\r\n\r\nkeeping the random math and cache reads\r\n\r\nProgPoW Overview\r\n\r\nThe design goal of ProgPoW is to have the algorithm’s requirements match what is available on commodity GPUs: If the algorithm were to be implemented on a custom ASIC there should be little opportunity for efficiency gains compared to a commodity GPU.\r\n\r\nThe main elements of the algorithm are:\r\n\r\nChanges keccak_f1600 (with 64-bit words) to keccak_f800 (with 32-bit words) to reduce impact on total power\r\nIncreases mix state.\r\nAdds a random sequence of math in the main loop.\r\nAdds reads from a small, low-latency cache that supports random addresses.\r\nIncreases the DRAM read from 128 bytes to 256 bytes.\r\nWhile a custom ASIC to implement this algorithm is still possible, the efficiency gains available are minimal. The majority of a commodity GPU is required to support the above elements. The only optimizations available are: *Remove the graphics pipeline (displays, geometry engines, texturing, etc) *Remove floating point math\r\n\r\nThese would result in minimal, roughly 1.1-1.2x, efficiency gains. This is much less than the 2x for Ethash or 50x for Cryptonight."}}
{"actor":{"display_login":"olalawal"}}