nicehash / excavator

NiceHash's proprietary low-level CUDA miner
https://www.nicehash.com
53 stars 19 forks source link

RTX 3060 Laptop optimization? #319

Closed EvgeniyKorepov closed 3 years ago

EvgeniyKorepov commented 3 years ago

My RTX 3060 Laptop with params

{"id":1,"method":"device.set.core_delta","params":["GPU-e50e69b2-1f28-5ee5-8626-0ec4cccadea9","-200"]},
{"id":1,"method":"device.set.memory_delta","params":["GPU-e50e69b2-1f28-5ee5-8626-0ec4cccadea9","680"]},

gives out Device #0-0 speed: 38.10 MH/s power: 74.39 W efficiency: 512.11 kH/J

Perhaps there are some ways to optimize or increase the speed? Timings or other parameters?

{
    "device": {
        "device_id": 0,
        "name": "GeForce RTX 3060 Laptop GPU",
        "gpgpu_type": 1,
        "subvendor": "1462",
        "details": {
            "cuda_id": 0,
            "sm_major": 8,
            "sm_minor": 6,
            "bus_id": 1,
            "sli": false,
            "bus_slot_id": 1,
            "ram_maker": "Samsung"
        },
        "uuid": "GPU-e50e69b2-1f28-5ee5-8626-0ec4cccadea9",
        "gpu_temp": 77,
        "gpu_load": 100,
        "gpu_load_memctrl": 100,
        "gpu_power_mode": -1,
        "gpu_power_usage": 74.91,
        "gpu_power_limit_current": -3.0,
        "gpu_power_limit_min": 0.0,
        "gpu_power_limit_max": 0.0,
        "gpu_power_limit_default": 0.0,
        "gpu_tdp_current": -5.0,
        "gpu_clock_core_max": 2100,
        "gpu_clock_core": 1365,
        "gpu_clock_memory": 6681,
        "gpu_clock_memory_default": 6001,
        "gpu_fan_speed": -3,
        "gpu_fan_speed_rpm": -1,
        "gpu_memory_free": 1649827840,
        "gpu_memory_used": 4792623104,
        "intensity": 1,
        "hw_errors": 0,
        "hw_errors_success": 6770,
        "kernel_times": {
            "avg": 58265,
            "min": 58201,
            "max": 58340,
            "umed": 58285
        },
        "oc_data": {
            "core_clock_delta": -200,
            "memory_clock_delta": 680,
            "power_limit_watts": -3,
            "power_limit_tdp": -5,
            "core_clock_limit": 0,
            "core_uvolt": [],
            "vfc": [],
            "mt": {}
        },
        "fans": [],
        "too_hot": false,
        "__hotspot_temp": 79,
        "smartfan": {
            "mode": 0,
            "fixed_speed": 100,
            "target_gpu": 60,
            "target_vram": 90,
            "start_level": 75,
            "override_level_min": -1,
            "override_level_max": -1,
            "decrease_k": 200,
            "increase_k": 2000,
            "increase_n_gpu": -3,
            "increase_n_vram": 0
        },
        "oc_limits": {
            "core_delta_min": -1000,
            "core_delta_max": 1000,
            "vram_delta_min": -1000,
            "vram_delta_max": 3000,
            "tdp_min": 0,
            "tdp_max": 0
        },
        "gpu_mvolt_core": 731,
        "gpu_memory_timings": {
            "bEditable": false,
            "timings": {
                "RC": 77,
                "RFC": 180,
                "RAS": 51,
                "RP": 26,
                "CFG0_R0": 0,
                "CL": 24,
                "WL": 5,
                "RD_RCD": 26,
                "WR_RCD": 17,
                "CFG1_R0": 25,
                "RPRE": 0,
                "WPRE": 1,
                "CDLR": 8,
                "WR": 26,
                "W2R_BUS": 7,
                "R2W_BUS": 7,
                "PDEX": 12,
                "PDEN2PDEX": 15,
                "FAW": 16,
                "AOND": 0,
                "CCDL": 2,
                "CCDS": 2,
                "REFRESH_LO": 5,
                "REFRESH": 4,
                "RRD": 4,
                "DELAY0": 20,
                "CFG4_R0": 28,
                "ADR_MIN": 5,
                "CFG5_R0": 0,
                "WRCRC": 16,
                "CFG5_R1": 0,
                "OFFSET0": 39,
                "DELAY0_MSB": 0,
                "OFFSET1": 13,
                "OFFSET2": 7,
                "DELAY01": 10
            }
        }
    },
    "id": 999,
    "error": null
}
nicehashdev commented 3 years ago

Adjusting timings for Ampere sadly doesn't work (yet).

Try limiting max core clock. This should work for laptop.