{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum-mining/ethminer/issues/1635","repository_url":"https://api.github.com/repos/ethereum-mining/ethminer","labels_url":"https://api.github.com/repos/ethereum-mining/ethminer/issues/1635/labels{/name}","comments_url":"https://api.github.com/repos/ethereum-mining/ethminer/issues/1635/comments","events_url":"https://api.github.com/repos/ethereum-mining/ethminer/issues/1635/events","html_url":"https://github.com/ethereum-mining/ethminer/issues/1635","id":369198324,"node_id":"MDU6SXNzdWUzNjkxOTgzMjQ=","number":1635,"title":"Fiji, big performance regression in 0.16","user":{"login":"Brisse89","id":10871070,"node_id":"MDQ6VXNlcjEwODcxMDcw","avatar_url":"https://avatars0.githubusercontent.com/u/10871070?v=4","gravatar_id":"","url":"https://api.github.com/users/Brisse89","html_url":"https://github.com/Brisse89","followers_url":"https://api.github.com/users/Brisse89/followers","following_url":"https://api.github.com/users/Brisse89/following{/other_user}","gists_url":"https://api.github.com/users/Brisse89/gists{/gist_id}","starred_url":"https://api.github.com/users/Brisse89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brisse89/subscriptions","organizations_url":"https://api.github.com/users/Brisse89/orgs","repos_url":"https://api.github.com/users/Brisse89/repos","events_url":"https://api.github.com/users/Brisse89/events{/privacy}","received_events_url":"https://api.github.com/users/Brisse89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-11T16:15:17Z","updated_at":"2018-10-17T22:04:31Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nPerformance regression\r\nethminer 0.15 - 28MH/s\r\nethminer 0.16 - 5MH/s\r\n\r\n**To Reproduce**\r\nCompare 0.15 and 0.16 on Fiji hardware.\r\n\r\n**Expected behaviour**\r\nPerformance should be on par or better when updating ethminer.\r\n\r\n**Desktop (please complete the following information):**\r\n- Operating System: Debian Sid\r\n- Hardware: Sapphire Nitro R9 Fury\r\n- Ethminer Version: 0.15 / 0.16 / 0.16.1\r\n- Driver: ROCm 1.9 (same issue was observed using legacy driver aka. Orca as well)\r\n\r\n**Additional context**\r\n```\r\nclinfo\r\nNumber of platforms                               1\r\n  Platform Name                                   AMD Accelerated Parallel Processing\r\n  Platform Vendor                                 Advanced Micro Devices, Inc.\r\n  Platform Version                                OpenCL 2.1 AMD-APP (2679.0)\r\n  Platform Profile                                FULL_PROFILE\r\n  Platform Extensions                             cl_khr_icd cl_amd_event_callback \r\n  Platform Host timer resolution                  1ns\r\n  Platform Extensions function suffix             AMD\r\n\r\n  Platform Name                                   AMD Accelerated Parallel Processing\r\nNumber of devices                                 1\r\n  Device Name                                     gfx803\r\n  Device Vendor                                   Advanced Micro Devices, Inc.\r\n  Device Vendor ID                                0x1002\r\n  Device Version                                  OpenCL 1.2 \r\n  Driver Version                                  2679.0 (HSA1.1,LC)\r\n  Device OpenCL C Version                         OpenCL C 2.0 \r\n  Device Type                                     GPU\r\n  Device Board Name (AMD)                         Fiji [Radeon R9 FURY / NANO Series]\r\n  Device Topology (AMD)                           PCI-E, 09:00.0\r\n  Device Profile                                  FULL_PROFILE\r\n  Device Available                                Yes\r\n  Compiler Available                              Yes\r\n  Linker Available                                Yes\r\n  Max compute units                               56\r\n  SIMD per compute unit (AMD)                     4\r\n  SIMD width (AMD)                                16\r\n  SIMD instruction width (AMD)                    1\r\n  Max clock frequency                             1050MHz\r\n  Graphics IP (AMD)                               8.3\r\n  Device Partition                                (core)\r\n    Max number of sub-devices                     56\r\n    Supported partition types                     None\r\n  Max work item dimensions                        3\r\n  Max work item sizes                             1024x1024x1024\r\n  Max work group size                             256\r\n  Preferred work group size (AMD)                 256\r\n  Max work group size (AMD)                       1024\r\n  Preferred work group size multiple              64\r\n  Wavefront width (AMD)                           64\r\n  Preferred / native vector sizes                 \r\n    char                                                 4 / 4       \r\n    short                                                2 / 2       \r\n    int                                                  1 / 1       \r\n    long                                                 1 / 1       \r\n    half                                                 1 / 1        (cl_khr_fp16)\r\n    float                                                1 / 1       \r\n    double                                               1 / 1        (cl_khr_fp64)\r\n  Half-precision Floating-point support           (cl_khr_fp16)\r\n    Denormals                                     No\r\n    Infinity and NANs                             No\r\n    Round to nearest                              No\r\n    Round to zero                                 No\r\n    Round to infinity                             No\r\n    IEEE754-2008 fused multiply-add               No\r\n    Support is emulated in software               No\r\n  Single-precision Floating-point support         (core)\r\n    Denormals                                     No\r\n    Infinity and NANs                             Yes\r\n    Round to nearest                              Yes\r\n    Round to zero                                 Yes\r\n    Round to infinity                             Yes\r\n    IEEE754-2008 fused multiply-add               Yes\r\n    Support is emulated in software               No\r\n    Correctly-rounded divide and sqrt operations  Yes\r\n  Double-precision Floating-point support         (cl_khr_fp64)\r\n    Denormals                                     Yes\r\n    Infinity and NANs                             Yes\r\n    Round to nearest                              Yes\r\n    Round to zero                                 Yes\r\n    Round to infinity                             Yes\r\n    IEEE754-2008 fused multiply-add               Yes\r\n    Support is emulated in software               No\r\n  Address bits                                    64, Little-Endian\r\n  Global memory size                              4294967296 (4GiB)\r\n  Global free memory (AMD)                        4192256 (3.998GiB)\r\n  Global memory channels (AMD)                    16\r\n  Global memory banks per channel (AMD)           4\r\n  Global memory bank width (AMD)                  256 bytes\r\n  Error Correction support                        No\r\n  Max memory allocation                           3650722201 (3.4GiB)\r\n  Unified memory for Host and Device              No\r\n  Minimum alignment for any data type             128 bytes\r\n  Alignment of base address                       1024 bits (128 bytes)\r\n  Global Memory cache type                        Read/Write\r\n  Global Memory cache size                        16384 (16KiB)\r\n  Global Memory cache line size                   64 bytes\r\n  Image support                                   Yes\r\n    Max number of samplers per kernel             29440\r\n    Max size for 1D images from buffer            65536 pixels\r\n    Max 1D or 2D image array size                 2048 images\r\n    Max 2D image size                             16384x16384 pixels\r\n    Max 3D image size                             2048x2048x2048 pixels\r\n    Max number of read image args                 128\r\n    Max number of write image args                8\r\n  Local memory type                               Local\r\n  Local memory size                               65536 (64KiB)\r\n  Local memory syze per CU (AMD)                  65536 (64KiB)\r\n  Local memory banks (AMD)                        32\r\n  Max number of constant args                     8\r\n  Max constant buffer size                        3650722201 (3.4GiB)\r\n  Preferred constant buffer size (AMD)            16384 (16KiB)\r\n  Max size of kernel argument                     1024\r\n  Queue properties                                \r\n    Out-of-order execution                        No\r\n    Profiling                                     Yes\r\n  Prefer user sync for interop                    Yes\r\n  Number of P2P devices (AMD)                     0\r\n  P2P devices (AMD)                               \r\n  Profiling timer resolution                      1ns\r\n  Profiling timer offset since Epoch (AMD)        0ns (Thu Jan  1 01:00:00 1970)\r\n  Execution capabilities                          \r\n    Run OpenCL kernels                            Yes\r\n    Run native kernels                            No\r\n    Thread trace supported (AMD)                  No\r\n    Number of async queues (AMD)                  8\r\n    Max real-time compute queues (AMD)            8\r\n    Max real-time compute units (AMD)             56\r\n  printf() buffer size                            4194304 (4MiB)\r\n  Built-in kernels                                \r\n  Device Extensions                               cl_khr_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_media_ops cl_amd_media_ops2 cl_khr_subgroups cl_khr_depth_images cl_amd_copy_buffer_p2p cl_amd_assembly_program \r\n\r\nNULL platform behavior\r\n  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform\r\n  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform\r\n  clCreateContext(NULL, ...) [default]            No platform\r\n  clCreateContext(NULL, ...) [other]              Success [AMD]\r\n  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)\r\n    Platform Name                                 AMD Accelerated Parallel Processing\r\n    Device Name                                   gfx803\r\n  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform\r\n  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)\r\n    Platform Name                                 AMD Accelerated Parallel Processing\r\n    Device Name                                   gfx803\r\n  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform\r\n  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform\r\n  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)\r\n    Platform Name                                 AMD Accelerated Parallel Processing\r\n    Device Name                                   gfx803\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/ethereum-mining/ethminer/issues/comments/430806060","html_url":"https://github.com/ethereum-mining/ethminer/issues/1635#issuecomment-430806060","issue_url":"https://api.github.com/repos/ethereum-mining/ethminer/issues/1635","id":430806060,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDgwNjA2MA==","user":{"login":"ernstp","id":877338,"node_id":"MDQ6VXNlcjg3NzMzOA==","avatar_url":"https://avatars1.githubusercontent.com/u/877338?v=4","gravatar_id":"","url":"https://api.github.com/users/ernstp","html_url":"https://github.com/ernstp","followers_url":"https://api.github.com/users/ernstp/followers","following_url":"https://api.github.com/users/ernstp/following{/other_user}","gists_url":"https://api.github.com/users/ernstp/gists{/gist_id}","starred_url":"https://api.github.com/users/ernstp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ernstp/subscriptions","organizations_url":"https://api.github.com/users/ernstp/orgs","repos_url":"https://api.github.com/users/ernstp/repos","events_url":"https://api.github.com/users/ernstp/events{/privacy}","received_events_url":"https://api.github.com/users/ernstp/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T22:04:31Z","updated_at":"2018-10-17T22:04:31Z","author_association":"NONE","body":"Same here."}}
{"actor":{"display_login":"ernstp"}}