what is shmoo mode of bandwidthtest

As title.
In the script:

for i in 0 1 2 3 ; do

    echo GPU : $i

    numactl --cpunodebind=0 --membind=0 bandwidthTest --memory=pinned --noprompt --device=$i --mode=shmoo 2>&1 > GPU.$i &

done

Does anybody know that “2>&1 > GPU.$i &”,what is this mean? and what is shmoo mode? :pirate:

i’m a beginner and starve for learning more.thank you everybody.

A shmoo plot is a table of responses over a range of inputs. It’s used in engineering a lot.
Here the responses are for each device, and transfer in different sizes. The term isn’t GPU or even computer specific.

The 2>&1 > stuff is just shell code for piping the output to a set of files as well as displaying it on screen at the same time.

OH,thank you very much indeed!!! :rolleyes: