summaryrefslogtreecommitdiff
path: root/memory.c
AgeCommit message (Collapse)Author
2008-05-30Make it work on opensolarisJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-03-06Style fixupsJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-02-01Add --debug for enabling internal dumps on various actionsJens Axboe
A little weak currently, when it's fully integrated everywhere in fio it'll help find fio problems that I can't trigger. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-10-25More cpu engine fixesJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-07-19malloc memory still needs to be aligned, if we are doing direct IOJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-07-19Add clue for ENOMEM hugepage allocationJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-07-19Fix typo in shmhuge commitJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-07-19Detect and print when the OS doesn't support huge pagesJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-04-26Log error on io buffer allocationJens Axboe
Currently it just exits silently. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-04-17IO buffer allocation cleanupJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-04-02Move os/arch/compiler headers into directoriesJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-03-23Print help info on huge page shmget() returning EINVALJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-03-19Make sure mmaphuge file backed file is the size we needJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-03-19Helpful indication to run as rootJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-03-19No need to use perror() after td_verror()Jens Axboe
That'll just result in the error being displayed twice. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-03-15Move thread options into a seperate structureJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-03-15Use log_info() throughoutJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2007-02-22Add more context to the error messagesJens Axboe
Errors like: fio: pid=0, err=22/file:filesetup.c:380, error=Invalid argument do not give a lot of clue as to what is wrong, unless you have a matching source. So add a context relevant info message as well. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2006-12-21[PATCH] Allow mem=mmap to also use a file backingJens Axboe
We have the stuff in place for huge page backed memory, so it's little extra code to support io buffers inside mmap file backed memory. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2006-12-20[PATCH] Remove debug fprintfsJens Axboe
Oops, leftover from the mmaphuge commit. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2006-12-20[PATCH] Support for mmap of hugetlb files as memory backingJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2006-12-20[PATCH] Fix hugetlb problemsJens Axboe
Alignment was bad, and we need to check the shmhuge string before shm, otherwise it'll match the latter. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2006-12-19[PATCH] Support for hugetlb backed shared memoryJens Axboe
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2006-12-05[PATCH] Fix warnings from iccJens Axboe
icc spewed a bunch of warnings on building fio, but it did actually build and work. Some of them are real bugs, most are just "helpful" warnings. icc doesn't like pointer arithmetic, however these are not fixed up. It works as-is, just ignore those class of warnings. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2006-10-20[PATCH] Split out the memory handling from fio.cJens Axboe
In the process also fix some bugs in the memory pinning. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>