-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ported pcie-brcmstb bounce buffer implementation to ARM64. #3144
Conversation
full 4G RAM usage on Raspberry Pi in 64-bit mode.
Thank you. Do you have a "Signed-off-by: name " I can add for you? |
full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
Added a commit d1e0a4c with "Signed-off-by" Sorry about missing this |
Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
I left a diagnostic trace message in arch/arm64/mm/dma-mapping.c |
Thanks - that should all squash down when it is time to merge. |
@yaroslavros all we need now is a squash to one commit so we can merge it. Do you think you can do that soon? |
No need - I can squash and merge if you've had a chance to test it. |
I see. I'll give it a spin tomorrow. Will update as soon as. |
Very nice - seems to work well (in the very basic testing I have done anyhow)! I have added this PR to my bcm2711-kernel-bis weekly autobuild pro tem, until it is merged upstream. A prebuilt release tarball may be downloaded here. Screenshot (64-bit Gentoo userland, also has #3063 applied for V3D): Thanks, sakaki |
I tested the current kernel with the bounce buffer implementation on arm64. After the ram went over 1GB most of the programs are not usable anymore, network broke down and I was not able to shutdown the system at all. More or less the same as before the merge. I see errors in dmesg like in issue #3120 is this to be expected with a 32bit userspace? Sorry for asking, I dont know much about kernels. Edit: after using the kernel from sakaki the problem is not present anymore. Maybe I compiled the kernel wrong... (used the introduction from https://andrei.gherzan.ro/linux/raspbian-rpi-64/) |
Thanks to this PR: raspberrypi/linux#3144
@pY4x3g How have you tested this? I just ran some stress tools and I was able to go above 3G without any obvious issues.
This is on a full 64bit distro (kernel + userspace). |
It's all looking good here, with just |
@agherzan I started a self compiled go program (siacoin - arm64), after 1 GB of memory was used the system was not usable anymore. I actually do not know what I did wrong, but with the compiled kernel as mentioned above all is working fine now with usage at full 4GB (-300M for GPU) memory and swapping of 2 GB. System is running stable since yesterday. Using the official 32bit raspbian userspace. |
@agherzan, see @pY4x3g's edit to the original message:
So I guess just a localized build issue originally? |
Ooops - our posts just crossed @pY4x3g, apologies ^-^ |
Gotcha. Thanks for clarifying. Looks good! |
The PCIe bounce buffers were ported[1] in the kernel so we can remove this limitation now. [1] raspberrypi/linux#3144 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
The PCIe bounce buffers were ported[1] in the kernel so we can remove this limitation now. [1] raspberrypi/linux#3144 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
The PCIe bounce buffers were ported[1] in the kernel so we can remove this limitation now. [1] raspberrypi/linux#3144 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
The PCIe bounce buffers were ported[1] in the kernel so we can remove this limitation now. [1] raspberrypi/linux#3144 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
The PCIe bounce buffers were ported[1] in the kernel so we can remove this limitation now. [1] raspberrypi/linux#3144 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Ported pcie-brcmstb bounce buffer implementation to ARM64. This enables full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
Ported pcie-brcmstb bounce buffer implementation to ARM64. This enables full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
Ported pcie-brcmstb bounce buffer implementation to ARM64. This enables full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
Ported pcie-brcmstb bounce buffer implementation to ARM64. This enables full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
Ported pcie-brcmstb bounce buffer implementation to ARM64. This enables full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
Ported pcie-brcmstb bounce buffer implementation to ARM64. This enables full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
Ported pcie-brcmstb bounce buffer implementation to ARM64. This enables full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
Ported pcie-brcmstb bounce buffer implementation to ARM64. This enables full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
Ported pcie-brcmstb bounce buffer implementation to ARM64. This enables full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
Ported pcie-brcmstb bounce buffer implementation to ARM64. This enables full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
Ported pcie-brcmstb bounce buffer implementation to ARM64. This enables full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
Ported pcie-brcmstb bounce buffer implementation to ARM64. This enables full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
Ported pcie-brcmstb bounce buffer implementation to ARM64. This enables full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
Ported pcie-brcmstb bounce buffer implementation to ARM64. This enables full 4G RAM usage on Raspberry Pi in 64-bit mode. Signed-off-by: Yaroslav Rosomakho <yaroslavros@gmail.com>
The PCIe bounce buffers were ported[1] in the kernel so we can remove this limitation now. [1] raspberrypi/linux#3144 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
The PCIe bounce buffers were ported[1] in the kernel so we can remove this limitation now. [1] raspberrypi/linux#3144 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
This enables full 4G RAM usage on Raspberry Pi in 64-bit mode.
This addresses #3093