<commit_before>#!/bin/bash

. defs.sh

OPTS="-p"

old_drops=$(ethtool -S $RECV_DEV | grep rx_nodesc_drops | cut -d: -f2)
sudo taskset 010 env LD_LIBRARY_PATH=$LIBPATH ./recv $OPTS $RECV_DEV &
sleep 1
sudo taskset 020 env LD_LIBRARY_PATH=$LIBPATH ./send $OPTS $SEND_DEV $(ifconfig $RECV_DEV | perl -ne 'print $1 if (/HWaddr (\S*)/)')
wait
new_drops=$(ethtool -S $RECV_DEV | grep rx_nodesc_drops | cut -d: -f2)
echo "rx_nodesc_drops delta: " $(expr $new_drops - $old_drops)<commit_msg>run.sh changes that seem to break things<commit_after>#!/bin/bash

. defs.sh

OPTS="-p"

trap "sudo killall send recv" 0

old_drops=$(ethtool -S $RECV_DEV | grep rx_nodesc_drops | cut -d: -f2)
sudo taskset 020 chrt 1 env LD_LIBRARY_PATH=$LIBPATH ./recv $OPTS $RECV_DEV &
sleep 1
sudo taskset 010 chrt 1 env LD_LIBRARY_PATH=$LIBPATH ./send $OPTS $SEND_DEV $(ifconfig $RECV_DEV | perl -ne 'print $1 if (/HWaddr (\S*)/)')
new_drops=$(ethtool -S $RECV_DEV | grep rx_nodesc_drops | cut -d: -f2)
echo "rx_nodesc_drops delta: " $(expr $new_drops - $old_drops)
wait
{'fraction_non_alphanumeric': 0.1451923076923077, 'fraction_numerical': 0.022115384615384617, 'mean_word_length': 4.566844919786096, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3614204', 'n_tokens_mistral': 482, 'n_tokens_neox': 442, 'n_words': 121}