CARV-ICS-FORTH / CARV-ICS-FORTH/FastMap
Fastmap kernel panic
- Lingua principale
- C
- Stelle
- 37
- Fork
- 6
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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:

Things I have tried so far:
- reducing the size of the cache (perma_mmap_buf_size=16)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia riproducendo la configurazione indicata con il commit 1af50c1, il modulo dmap caricato tramite modprobe e scripts/load-it-blkdev.sh che crea /dev/dmap/dmap1. Esegui rand_threads_read e rand_threads_write, quindi esamina i dettagli del kernel panic e gli entry point relativi a dmap. Il lavoro è completato quando viene identificata la causa del problema e viene documentata una correzione o le informazioni aggiuntive necessarie per diagnosticarlo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- c, debian, linux
- Ambito
- operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 28/100