Open mguski opened 7 years ago
/dev/zero would fill the file with zeros, the following appears to run at 3.0 GB/s: dd if=/dev/zero of=/dev/shm/shm_rx_ant_0_side_0_swing_0 bs=4096 count=34179
where bs is the block size in bytes, and count is the number of blocks to write. I think count should be rxshm_size/bs
we may need to also pass conv=notrunc to dd so that it doesn't create a new shm file?
check why it sometime fails
or try another faster way via system call /dev/null >> shm_file