CARV-ICS-FORTH / CARV-ICS-FORTH/FastMap

Fastmap kernel panic

Offen
#2 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C
Sterne
37
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi,
I am trying to use Fastmap in combination with libvmmalloc or vmem to offload memory for quantum chemistry applications to many nvme-drives. I have gotten libvmmalloc and pmem to work. However, Fastmap gives me some trouble by causing kernel panics.
Could you please have a look an give or do you have any idea what the reason could be? Or which additional information would be helpful.

Steps to reproduce:
- Debian oldstable with Mainline Kernel 4.14.123 running in qemu 7.0.0
- fastmap commit 1af50c1
- swap off, transparent huge pages disabled
- modprobe dmap perma_mmap_buf_size=16
- /dev/dmap/dmap1 created using scripts/load-it-blkdev.sh
- rand_threads_read /dev/dmap/dmap1 2
- seems to work in the sense that is read from the device
- rand_threads_write /dev/dmap/dmap1 2
- starts to fill up the dram memory and finally leads to a kernel panic:

![image](https://user-images.githubusercontent.com/46203934/181266620-a55e77f4-690f-4c40-8f0e-7e7d6a43ba72.png)

Things I have tried so far:
- reducing the size of the cache (perma_mmap_buf_size=16)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne damit, das aufgeführte Setup mit Commit 1af50c1, dem über modprobe geladenen dmap-Modul und scripts/load-it-blkdev.sh, das /dev/dmap/dmap1 erstellt, nachzustellen. Führe rand_threads_read und rand_threads_write aus und untersuche anschließend die Details des Kernel-Panics und die dmap-bezogenen Einstiegspunkte. Als abgeschlossen gilt, wenn die Fehlerursache identifiziert und ein Fix oder die für die Diagnose benötigten zusätzlichen Informationen dokumentiert wurden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
c, debian, linux
Bereich
operating-systems
Issue-Typ
Bug
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
28/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.