Unsigned number being printed as signed? On 29 November 2017 at 13:12, Gavriliuk, Anton (HPS Ukraine) <anton.gavriliuk@xxxxxxx> wrote: > Latest findings... > > With the fio2.12 /dev/dax & mmap(). I run trace before start test. We can see above open(), mmap() > > 5.630816 cpu=65 pid=45154 tgid=45154 open [2] entry *pathname=0x7f62b6fabed0 flags=NOATIME mode=0600 filename: /dev/dax0.0 > 5.630819 cpu=65 pid=45154 tgid=45154 open [2] ret=3 syscallbeg= 0.000003 *pathname=0x7f62b6fabed0 flags=NOATIME mode=0600 > 5.630833 cpu=65 pid=45154 tgid=45154 mmap [9] entry *addr=0x0 length=-2147483648 prot=READ|WRITE flags=SHARED fd=3 offset=0x0 > 5.630836 cpu=65 pid=45154 tgid=45154 mmap [9] ret=0x7f1a00200000 syscallbeg= 0.000003 *addr=0x0 length=-2147483648 prot=READ|WRITE flags=SHARED fd=3 offset=0x0 > 5.630836 cpu=65 pid=45154 tgid=45154 madvise [28] entry *addr=0x7f1a00200000 length=-2147483648 advise=0x1 > 5.630837 cpu=65 pid=45154 tgid=45154 madvise [28] ret=0x0 syscallbeg= 0.000001 *addr=0x7f1a00200000 length=-2147483648 advise=0x1 > > How it could be that mmap() length size -2Gb ??? (length=-2147483648). I pointed +290g, > > dl560g10spmem01:/var/work/fio-3.2 # /usr/bin/fio --filename=/dev/dax0.0 --rw=randrw --refill_buffers --norandommap --randrepeat=0 --ioengine=mmap --bssplit=4k/4:8k/7:16k/7:32k/15:64k/65:128k/1:256k/1 --rwmixread=5 --iodepth=1 --numjobs=16 --runtime=1800 --group_reporting --name=4-rand-rw-3xx --size=290g -- Sitsofe | http://sucs.org/~sits/ -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html