1 |
On Wednesday, March 25, 2020 7:09:04 AM CET tuxic@××××××.de wrote: |
2 |
> Hi, |
3 |
> |
4 |
> the hardware consists of: |
5 |
> AMD Ryzen 5 3600 |
6 |
> MSI Tomahawk MAX |
7 |
> 32GB RAM (Corsair Venegeance 2x16GB,dual channel) |
8 |
> NVidia RTX 2060 SUPER |
9 |
> |
10 |
> cat /proc/mtrr gives me |
11 |
> |
12 |
> reg00: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back |
13 |
> reg01: base=0x080000000 ( 2048MB), size= 1024MB, count=1: write-back |
14 |
> reg02: base=0x0c0000000 ( 3072MB), size= 512MB, count=1: write-back |
15 |
> reg03: base=0x0dc0a0000 ( 3520MB), size= 64KB, count=1: uncachable |
16 |
> |
17 |
> -> there is a chunk of uncachable memory |
18 |
> |
19 |
> I activated the sanitizer in the kernel and in kernel I found |
20 |
> this: |
21 |
> |
22 |
> |
23 |
> [ 0.000000] MTRR default type: uncachable |
24 |
> [ 0.000000] MTRR fixed ranges enabled: |
25 |
> [ 0.000000] 00000-9FFFF write-back |
26 |
> [ 0.000000] A0000-BFFFF write-through |
27 |
> [ 0.000000] C0000-FFFFF write-protect |
28 |
> [ 0.000000] MTRR variable ranges enabled: |
29 |
> [ 0.000000] 0 base 000000000000 mask FFFF80000000 write-back |
30 |
> [ 0.000000] 1 base 000080000000 mask FFFFC0000000 write-back |
31 |
> [ 0.000000] 2 base 0000C0000000 mask FFFFE0000000 write-back |
32 |
> [ 0.000000] 3 base 0000DC0A0000 mask FFFFFFFF0000 uncachable |
33 |
> [ 0.000000] 4 disabled |
34 |
> [ 0.000000] 5 disabled |
35 |
> [ 0.000000] 6 disabled |
36 |
> [ 0.000000] 7 disabled |
37 |
> ... |
38 |
> [ 0.000000] gran_size: 64K chunk_size: 64M num_reg: 4 |
39 |
lose cover |
40 |
> RAM: 0G |
41 |
> |
42 |
> So I set the kernel cmdline to: |
43 |
> BOOT_IMAGE=/vmlinuz-5051101-64-RT root=/dev/sda11 ro console=tty0 |
44 |
> console=ttyS0,115200n8 enable_mtrr_cleanup mtrr_spare_reg_nr=1 |
45 |
> mtrr_gran_size=64K mtrr_chunk_size=64M |
46 |
> |
47 |
> rebooted and found the same problem unchanged. |
48 |
> |
49 |
> The Gentoo docs says, that there is a BIOS setting - probably under |
50 |
> "CPU" - which I should set from continuos to separated...but nowaday |
51 |
> BIOSse may look like a part of a Science Fiction moview...but I can |
52 |
> find those setting neither under "EZ" (for "easy settings" not under |
53 |
> "advanced" (for "danger ahead - you may screw up your board"). |
54 |
> |
55 |
> The bios of the board is not the top newest...it is the previous |
56 |
> version. |
57 |
> The changelog of the newest BIOS does not mention anything I would |
58 |
> see as related to the mtrr problem... |
59 |
> |
60 |
> Background: The RTX 2060 SUPER was intended to replace the |
61 |
> old GTX 960 I had....but the "BMW27" benchmark with Blender |
62 |
> is slower than with the GTX 960... |
63 |
> |
64 |
> How can I fix the mtrr problem (and the performance problem |
65 |
> of the graphics card, is related) ? |
66 |
> |
67 |
> Thanks a lot in advance for any help! |
68 |
> Cheers! |
69 |
> Meino |
70 |
|
71 |
According to the following, MTRR is being phased out in favor of PAT: |
72 |
https://www.kernel.org/doc/html/latest/x86/mtrr.html |
73 |
|
74 |
Something that looks more promising: |
75 |
https://forums.funtoo.org/topic/1865-properly-configuring-mtrr/ |
76 |
|
77 |
Sorry I can't help more, never looked into this myself, but will probably when |
78 |
I do manage to find the time. |
79 |
If you figure it out, please let me know. |