Commit a79623f1 authored by Shashi Guruprasad's avatar Shashi Guruprasad

Committing kqueue() based I/O readiness checks. We use a library called

Poller for this purpose. This works only on the FreeBSD 4.9 image in which
Mike has now incorporated a bpf fix (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/64178)
Another bugfix (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/64718)
should also be incorporated but will not cause problems with nse since we no longer
use BIOCSSEESENT flag anymore.
parent 573f1743
......@@ -14,6 +14,19 @@ if [ ! -d ns-allinone-2.26 ]; then
patch -p0 < nse.patch
fi
fi
if [ ! -d dkftpbench-0.45 ]; then
fetch http://www.emulab.net/downloads/dkftpbench-0.45.tar.gz
if [ $? -ne 0 ]; then
echo "Failed..."
echo "Downloading Poller library source for kqueue() support from www.kegel.com"
fetch http://www.kegel.com/dkftpbench/dkftpbench-0.45.tar.gz
fi
tar xzf dkftpbench-0.45.tar.gz
fi
cd dkftpbench-0.45
./configure
make libPoller.a
cd ..
cd ns-allinone-2.26
./install
cp ns-2.26/nse ..
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment