From 6d7ef1cf7ba05d5dc870ca52ddb762a61acc7dd6 Mon Sep 17 00:00:00 2001 From: John Ousterhout Date: Fri, 5 Jan 2024 15:30:09 -0800 Subject: [PATCH] Change all copyrigh notices to use SPDX BSD-1-Clause --- cloudlab/bin/ckill | 15 ++------------- cloudlab/bin/config | 15 ++------------- cloudlab/bin/install | 15 ++------------- cloudlab/bin/on_nodes | 15 ++------------- cloudlab/bin/set_cutoffs | 15 ++------------- cloudlab/bin/switch.py | 15 ++------------- cloudlab/bin/update_linux | 15 ++------------- cloudlab/config_switch | 15 ++------------- cloudlab/update | 15 ++------------- homa.h | 15 ++------------- homa_api.c | 15 ++------------- homa_impl.h | 15 ++------------- homa_incoming.c | 15 ++------------- homa_lcache.h | 15 ++------------- homa_offload.c | 15 ++------------- homa_outgoing.c | 15 ++------------- homa_peertab.c | 15 ++------------- homa_plumbing.c | 15 ++------------- homa_pool.c | 15 ++------------- homa_receiver.cc | 15 ++------------- homa_receiver.h | 15 ++------------- homa_socktab.c | 15 ++------------- homa_timer.c | 15 ++------------- homa_utils.c | 15 ++------------- perf/plot_length_cdf.py | 15 ++------------- test/ccutils.cc | 15 ++------------- test/ccutils.h | 15 ++------------- test/main.c | 15 ++------------- test/mock.c | 15 ++------------- test/mock.h | 15 ++------------- test/unit_homa_incoming.c | 15 ++------------- test/unit_homa_lcache.c | 15 ++------------- test/unit_homa_offload.c | 15 ++------------- test/unit_homa_outgoing.c | 15 ++------------- test/unit_homa_peertab.c | 15 ++------------- test/unit_homa_plumbing.c | 15 ++------------- test/unit_homa_pool.c | 15 ++------------- test/unit_homa_socktab.c | 15 ++------------- test/unit_homa_timer.c | 15 ++------------- test/unit_homa_utils.c | 15 ++------------- test/unit_timetrace.c | 15 ++------------- test/utils.c | 15 ++------------- test/utils.h | 15 ++------------- timetrace.c | 15 ++------------- timetrace.h | 15 ++------------- util/buffer_client.c | 15 ++------------- util/buffer_server.c | 15 ++------------- util/cp_basic | 15 ++------------- util/cp_buffers | 15 ++------------- util/cp_client_threads | 15 ++------------- util/cp_config | 15 ++------------- util/cp_config_buf | 15 ++------------- util/cp_load | 15 ++------------- util/cp_mtu | 15 ++------------- util/cp_node.cc | 15 ++------------- util/cp_server_ports | 15 ++------------- util/cp_tcp | 15 ++------------- util/cp_tcp_config | 15 ++------------- util/cp_vs_tcp | 15 ++------------- util/cperf.py | 15 ++------------- util/diff_metrics.py | 15 ++------------- util/diff_rtts.py | 15 ++------------- util/dist.cc | 15 ++------------- util/dist.h | 15 ++------------- util/dist_test.cc | 15 ++------------- util/dist_to_proto.cc | 16 ++-------------- util/get_time_trace.c | 15 ++------------- util/get_traces | 3 +-- util/homa_prio.cc | 15 ++------------- util/homa_test.cc | 15 ++------------- util/metrics.py | 15 ++------------- util/plot.py | 1 - util/plot_tthoma.py | 1 - util/receive_raw.c | 15 ++------------- util/rpcid.py | 15 ++------------- util/send_raw.c | 15 ++------------- util/server.cc | 15 ++------------- util/service.py | 15 ++------------- util/smi.cc | 15 ++------------- util/test_time_trace.c | 15 ++------------- util/test_utils.cc | 15 ++------------- util/test_utils.h | 15 ++------------- util/time_trace.cc | 15 ++------------- util/time_trace.h | 15 ++------------- util/ttcore.py | 15 ++------------- util/ttgrep.py | 15 ++------------- util/tthoma.py | 3 +++ util/ttmerge.py | 15 ++------------- util/ttmlxalloc.py | 15 ++------------- util/ttnicdelay.py | 3 +++ util/ttoffset.py | 15 ++------------- util/ttprint.py | 15 ++------------- util/ttrange.py | 15 ++------------- util/ttskbs.py | 15 ++------------- util/ttsum.py | 15 ++------------- util/ttsync.py | 10 +++++++--- util/use_memory.c | 15 ++------------- 97 files changed, 196 insertions(+), 1191 deletions(-) diff --git a/cloudlab/bin/ckill b/cloudlab/bin/ckill index 011d4f24..815efe4f 100755 --- a/cloudlab/bin/ckill +++ b/cloudlab/bin/ckill @@ -1,18 +1,7 @@ #!/bin/bash -# Copyright (c) 2020-2023 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE +# Copyright (c) 2020-2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # Kill processes with a given name on a cluster of machines. # diff --git a/cloudlab/bin/config b/cloudlab/bin/config index a1784a4e..3df873d7 100755 --- a/cloudlab/bin/config +++ b/cloudlab/bin/config @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2023 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ This script is used to configure CloudLab nodes for running Homa experiments. diff --git a/cloudlab/bin/install b/cloudlab/bin/install index 35b14017..120b6948 100755 --- a/cloudlab/bin/install +++ b/cloudlab/bin/install @@ -1,18 +1,7 @@ #!/bin/bash -# Copyright (c) 2020-2023 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE +# Copyright (c) 2020-2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This script installs all of the files needed to run Homa tests on one # or more target machines; it also loads the Homa kernel module. diff --git a/cloudlab/bin/on_nodes b/cloudlab/bin/on_nodes index 15cc2577..bc3ae67c 100755 --- a/cloudlab/bin/on_nodes +++ b/cloudlab/bin/on_nodes @@ -1,18 +1,7 @@ #!/bin/bash -# Copyright (c) 2020-2023 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE +# Copyright (c) 2020-2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This uses ssh to run a given command on one or more nodes in the # cluster. diff --git a/cloudlab/bin/set_cutoffs b/cloudlab/bin/set_cutoffs index f0291028..931167cd 100755 --- a/cloudlab/bin/set_cutoffs +++ b/cloudlab/bin/set_cutoffs @@ -1,18 +1,7 @@ #!/bin/bash -# Copyright (c) 2020-2023 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE +# Copyright (c) 2020-2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This script sets the cutoffs for unscheduled priorities on one or more # nodes to match the characteristics of the Homa workloads. diff --git a/cloudlab/bin/switch.py b/cloudlab/bin/switch.py index 92d9df42..ad7d0e0b 100755 --- a/cloudlab/bin/switch.py +++ b/cloudlab/bin/switch.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2023 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This file defines the Switch class. diff --git a/cloudlab/bin/update_linux b/cloudlab/bin/update_linux index bae67f14..d4c8f60d 100755 --- a/cloudlab/bin/update_linux +++ b/cloudlab/bin/update_linux @@ -1,18 +1,7 @@ #!/bin/bash -# Copyright (c) 2020-2023 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE +# Copyright (c) 2020-2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This script uses files on the current machine to update the kernel one # or more other machines and reboot to those machines. diff --git a/cloudlab/config_switch b/cloudlab/config_switch index a17f27b6..f966c3c6 100755 --- a/cloudlab/config_switch +++ b/cloudlab/config_switch @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2020-2023 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2020-2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This program outputs the commands needed to configure a CloudLab switch # for Homa, or to reset it. diff --git a/cloudlab/update b/cloudlab/update index 9ad1c749..8b73ee56 100755 --- a/cloudlab/update +++ b/cloudlab/update @@ -1,18 +1,7 @@ #!/bin/sh -# Copyright (c) 2019-2020, Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE +# Copyright (c) 2019-2020 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This script copies modified information from this directory to the # CloudLab machines given by the arguments (defaults are provided if no diff --git a/homa.h b/homa.h index 60c3ea0e..4eae9544 100644 --- a/homa.h +++ b/homa.h @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file defines the kernel call interface for the Homa diff --git a/homa_api.c b/homa_api.c index b6ef234d..a317677f 100644 --- a/homa_api.c +++ b/homa_api.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file contains functions that implement the Homa API visible to diff --git a/homa_impl.h b/homa_impl.h index 2e7c4993..d59bcf16 100644 --- a/homa_impl.h +++ b/homa_impl.h @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file contains definitions that are shared across the files diff --git a/homa_incoming.c b/homa_incoming.c index 20274e14..c6c792f6 100644 --- a/homa_incoming.c +++ b/homa_incoming.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file contains functions that handle incoming Homa messages, including diff --git a/homa_lcache.h b/homa_lcache.h index c0a1afe7..abca8956 100755 --- a/homa_lcache.h +++ b/homa_lcache.h @@ -1,16 +1,5 @@ -/* Copyright (c) 2022, Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2022, Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file implements homa_lcache objects */ diff --git a/homa_offload.c b/homa_offload.c index 589eb005..18307f8c 100644 --- a/homa_offload.c +++ b/homa_offload.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file implements GSO (Generic Segmentation Offload) and GRO (Generic diff --git a/homa_outgoing.c b/homa_outgoing.c index 339fa275..d8eec6e9 100644 --- a/homa_outgoing.c +++ b/homa_outgoing.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file contains functions related to the sender side of message diff --git a/homa_peertab.c b/homa_peertab.c index 3c0dbad1..8a9927f6 100644 --- a/homa_peertab.c +++ b/homa_peertab.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022, Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file manages homa_peertab objects and is responsible for creating diff --git a/homa_plumbing.c b/homa_plumbing.c index 9cba8ba4..0d07b6f4 100644 --- a/homa_plumbing.c +++ b/homa_plumbing.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file consists mostly of "glue" that hooks Homa into the rest of diff --git a/homa_pool.c b/homa_pool.c index 8bf940e6..06fd557d 100644 --- a/homa_pool.c +++ b/homa_pool.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2022-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2022-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include "homa_impl.h" diff --git a/homa_receiver.cc b/homa_receiver.cc index b259e241..795d59a8 100644 --- a/homa_receiver.cc +++ b/homa_receiver.cc @@ -1,16 +1,5 @@ -/* Copyright (c) 2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include diff --git a/homa_receiver.h b/homa_receiver.h index 6167ad06..1554bc71 100644 --- a/homa_receiver.h +++ b/homa_receiver.h @@ -1,16 +1,5 @@ -/* Copyright (c) 2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #pragma once diff --git a/homa_socktab.c b/homa_socktab.c index 75e3ac36..54642323 100644 --- a/homa_socktab.c +++ b/homa_socktab.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file manages homa_socktab objects; it also implements several diff --git a/homa_timer.c b/homa_timer.c index 7f1246ee..4c7fe3d2 100644 --- a/homa_timer.c +++ b/homa_timer.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file handles timing-related functions for Homa, such as retries diff --git a/homa_utils.c b/homa_utils.c index 4010c1d3..93ca983b 100644 --- a/homa_utils.c +++ b/homa_utils.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file contains miscellaneous utility functions for the Homa protocol. */ diff --git a/perf/plot_length_cdf.py b/perf/plot_length_cdf.py index 673b3121..cdcf8935 100755 --- a/perf/plot_length_cdf.py +++ b/perf/plot_length_cdf.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2019-2020, Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2019-2020 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This script generates a plot showing the CDF of message lengths, # gathered from one or more experiment runs. diff --git a/test/ccutils.cc b/test/ccutils.cc index 2c0073eb..0cdd201c 100644 --- a/test/ccutils.cc +++ b/test/ccutils.cc @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022, Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file various utility functions for unit testing, which are diff --git a/test/ccutils.h b/test/ccutils.h index 158db5cd..f56dc5d7 100644 --- a/test/ccutils.h +++ b/test/ccutils.h @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022, Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* Utility functions for unit tests, implemented in C++. */ diff --git a/test/main.c b/test/main.c index 61fb7019..afe7eefe 100644 --- a/test/main.c +++ b/test/main.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022, Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* Main program for running Homa unit tests. */ diff --git a/test/mock.c b/test/mock.c index 74470100..72ba62c1 100644 --- a/test/mock.c +++ b/test/mock.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file provides simplified substitutes for many Linux variables and diff --git a/test/mock.h b/test/mock.h index 525c3bd9..c5cdcc8b 100644 --- a/test/mock.h +++ b/test/mock.h @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* Functions for mocking that are exported to test code. */ diff --git a/test/unit_homa_incoming.c b/test/unit_homa_incoming.c index 1a2d88ad..c542157b 100644 --- a/test/unit_homa_incoming.c +++ b/test/unit_homa_incoming.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include "homa_impl.h" diff --git a/test/unit_homa_lcache.c b/test/unit_homa_lcache.c index 9a3fef2b..8eb549bf 100644 --- a/test/unit_homa_lcache.c +++ b/test/unit_homa_lcache.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2021-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2021-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include "homa_impl.h" diff --git a/test/unit_homa_offload.c b/test/unit_homa_offload.c index 42a624a8..857051c3 100644 --- a/test/unit_homa_offload.c +++ b/test/unit_homa_offload.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include "homa_impl.h" diff --git a/test/unit_homa_outgoing.c b/test/unit_homa_outgoing.c index 5689ac06..7080bf10 100644 --- a/test/unit_homa_outgoing.c +++ b/test/unit_homa_outgoing.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include "homa_impl.h" diff --git a/test/unit_homa_peertab.c b/test/unit_homa_peertab.c index 4076da4c..006312a9 100644 --- a/test/unit_homa_peertab.c +++ b/test/unit_homa_peertab.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include "homa_impl.h" diff --git a/test/unit_homa_plumbing.c b/test/unit_homa_plumbing.c index 9c478ad4..6d2a0cb2 100644 --- a/test/unit_homa_plumbing.c +++ b/test/unit_homa_plumbing.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include "homa_impl.h" diff --git a/test/unit_homa_pool.c b/test/unit_homa_pool.c index 832a0019..8729e394 100644 --- a/test/unit_homa_pool.c +++ b/test/unit_homa_pool.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2022-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2022-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include "homa_impl.h" diff --git a/test/unit_homa_socktab.c b/test/unit_homa_socktab.c index 32f88b57..55d6b515 100644 --- a/test/unit_homa_socktab.c +++ b/test/unit_homa_socktab.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include "homa_impl.h" diff --git a/test/unit_homa_timer.c b/test/unit_homa_timer.c index ea848f51..be0507c3 100644 --- a/test/unit_homa_timer.c +++ b/test/unit_homa_timer.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include "homa_impl.h" diff --git a/test/unit_homa_utils.c b/test/unit_homa_utils.c index 578a1087..101ab623 100644 --- a/test/unit_homa_utils.c +++ b/test/unit_homa_utils.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include "homa_impl.h" diff --git a/test/unit_timetrace.c b/test/unit_timetrace.c index cd05946b..aae1c001 100644 --- a/test/unit_timetrace.c +++ b/test/unit_timetrace.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include "homa_impl.h" diff --git a/test/utils.c b/test/utils.c index ec3990ba..bdc71356 100644 --- a/test/utils.c +++ b/test/utils.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file various utility functions for unit testing; this file diff --git a/test/utils.h b/test/utils.h index c70d2204..8e23de70 100644 --- a/test/utils.h +++ b/test/utils.h @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* Utility functions for unit tests, implemented in C. */ diff --git a/timetrace.c b/timetrace.c index 840c19ef..3005e24c 100644 --- a/timetrace.c +++ b/timetrace.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include "homa_impl.h" diff --git a/timetrace.h b/timetrace.h index 7d35597e..dd7cffb0 100644 --- a/timetrace.h +++ b/timetrace.h @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #ifndef HOMA_TIMETRACE_H diff --git a/util/buffer_client.c b/util/buffer_client.c index 20d809e8..4cd81f07 100644 --- a/util/buffer_client.c +++ b/util/buffer_client.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This is a test program used together with buffer_server.c to learn about diff --git a/util/buffer_server.c b/util/buffer_server.c index 17b1f89e..77d0f488 100644 --- a/util/buffer_server.c +++ b/util/buffer_server.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This is a test program used together with buffer_client.c to learn about diff --git a/util/cp_basic b/util/cp_basic index 8b9474e0..755df89c 100755 --- a/util/cp_basic +++ b/util/cp_basic @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2020-2023 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2020-2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This cperf benchmark computes basic latency and throughput numbers # for Homa and TCP. diff --git a/util/cp_buffers b/util/cp_buffers index 18955251..cced4e33 100755 --- a/util/cp_buffers +++ b/util/cp_buffers @@ -1,18 +1,7 @@ #!/usr/bin/python3 -u -# Copyright (c) 2023 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This cperf benchmark varies one or more aspects of Homa's configuration, # similar and measures Homa slowdown, but it also measures switch buffer diff --git a/util/cp_client_threads b/util/cp_client_threads index 44576a8e..7814757d 100755 --- a/util/cp_client_threads +++ b/util/cp_client_threads @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2020-2023 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2020-2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This cperf benchmark measures the throughput of a single client as a # function of the number of sending threads diff --git a/util/cp_config b/util/cp_config index 69bfdcba..0ee4859e 100755 --- a/util/cp_config +++ b/util/cp_config @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2020-2023 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2020-2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This cperf benchmark measures Homa slowdown while varying one or more # aspects of Homa's configuration (such as duty cycle). diff --git a/util/cp_config_buf b/util/cp_config_buf index a6cfa294..8933e719 100755 --- a/util/cp_config_buf +++ b/util/cp_config_buf @@ -1,18 +1,7 @@ #!/usr/bin/python3 -u -# Copyright (c) 2023 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This cperf benchmark varies one or more aspects of Homa's configuration, # similar and measures Homa slowdown, but it also measures switch buffer diff --git a/util/cp_load b/util/cp_load index 597e53b4..f19fa99c 100755 --- a/util/cp_load +++ b/util/cp_load @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2020-2022 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2020-2022 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This cperf benchmark generates CDFs of short-message latency for Homa # and TCP under different loads. diff --git a/util/cp_mtu b/util/cp_mtu index 9b825680..6b0141a4 100755 --- a/util/cp_mtu +++ b/util/cp_mtu @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2020-2022 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2020-2022 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This cperf benchmark generates CDFs of short-message latency for Homa # and TCP under different values for MTU (maximum packet size). diff --git a/util/cp_node.cc b/util/cp_node.cc index 0b5a70f5..48a333fe 100644 --- a/util/cp_node.cc +++ b/util/cp_node.cc @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file contains a program that runs on one node, as part of diff --git a/util/cp_server_ports b/util/cp_server_ports index bc03178d..24d85896 100755 --- a/util/cp_server_ports +++ b/util/cp_server_ports @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2020-2022 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2020-2022 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This cperf benchmark measures the throughput of a single server as a # function of the number of receiving ports diff --git a/util/cp_tcp b/util/cp_tcp index f6fe40e1..c8b4cd3a 100755 --- a/util/cp_tcp +++ b/util/cp_tcp @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2020-2022 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2020-2022 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This cperf benchmark measures the performance of TCP by itself, with # no message truncation. diff --git a/util/cp_tcp_config b/util/cp_tcp_config index 4dfba431..185909eb 100755 --- a/util/cp_tcp_config +++ b/util/cp_tcp_config @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2020-2022 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2020-2022 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This cperf benchmark measures TCP and DCTCP while varying one or more # aspects of Homa's configuration (such as duty cycle). diff --git a/util/cp_vs_tcp b/util/cp_vs_tcp index e42002b7..6258a457 100755 --- a/util/cp_vs_tcp +++ b/util/cp_vs_tcp @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2020-2023 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2020-2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This cperf benchmark compares the performance of Homa with TCP. # Type "cp_vs_tcp --help" for documentation. diff --git a/util/cperf.py b/util/cperf.py index 897cbc55..6534ab93 100644 --- a/util/cperf.py +++ b/util/cperf.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2020-2023 Stanford University -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2020-2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause # This file contains library functions used to run cluster performance # tests for the Linux kernel implementation of Homa. diff --git a/util/diff_metrics.py b/util/diff_metrics.py index 397f2e93..c90c53d1 100755 --- a/util/diff_metrics.py +++ b/util/diff_metrics.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2018-2022 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2018-2022 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ This program reads 2 Homa metrics files (/proc/net/homa_metrics) diff --git a/util/diff_rtts.py b/util/diff_rtts.py index 59fa35e8..0cd42e8d 100755 --- a/util/diff_rtts.py +++ b/util/diff_rtts.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2023 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ Compare two .rtts files to identify differences between them. diff --git a/util/dist.cc b/util/dist.cc index 6e440635..ed8271aa 100644 --- a/util/dist.cc +++ b/util/dist.cc @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file contains the workload distributions from the Homa paper, plus diff --git a/util/dist.h b/util/dist.h index 25a53597..6557f1a9 100644 --- a/util/dist.h +++ b/util/dist.h @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file defines the kernel contains information and supporting diff --git a/util/dist_test.cc b/util/dist_test.cc index 9dfa217f..50137b74 100644 --- a/util/dist_test.cc +++ b/util/dist_test.cc @@ -1,16 +1,5 @@ -/* Copyright (c) 2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include diff --git a/util/dist_to_proto.cc b/util/dist_to_proto.cc index dacee364..4fc0003c 100644 --- a/util/dist_to_proto.cc +++ b/util/dist_to_proto.cc @@ -1,17 +1,5 @@ - -/* Copyright (c) 2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include "dist.h" diff --git a/util/get_time_trace.c b/util/get_time_trace.c index 995b64fe..84393bd4 100644 --- a/util/get_time_trace.c +++ b/util/get_time_trace.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /** diff --git a/util/get_traces b/util/get_traces index 33c5b506..f200af61 100755 --- a/util/get_traces +++ b/util/get_traces @@ -1,7 +1,6 @@ #!/bin/bash -# Copyright (c) 2023 Stanford University -# +# Copyright (c) 2023 Homa Developers # SPDX-License-Identifier: BSD-1-Clause # Usage: diff --git a/util/homa_prio.cc b/util/homa_prio.cc index a8116527..0a92cde3 100644 --- a/util/homa_prio.cc +++ b/util/homa_prio.cc @@ -1,16 +1,5 @@ -/* Copyright (c) 2020-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2020-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file contains a program that dynamically adjusts Homa's allocation diff --git a/util/homa_test.cc b/util/homa_test.cc index fc3d2ebb..e682a565 100644 --- a/util/homa_test.cc +++ b/util/homa_test.cc @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ // This file contains a collection of tests for the Linux implementation diff --git a/util/metrics.py b/util/metrics.py index a64a78f4..58ad06c5 100755 --- a/util/metrics.py +++ b/util/metrics.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2019-2023 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2019-2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ Reads Homa metrics from the kernel and prints out anything that is changed diff --git a/util/plot.py b/util/plot.py index 6aa50a7b..06aca513 100755 --- a/util/plot.py +++ b/util/plot.py @@ -1,7 +1,6 @@ #!/usr/bin/python3 # Copyright (c) 2023 Homa Developers -# # SPDX-License-Identifier: BSD-1-Clause # This file provides a library of functions for generating plots. diff --git a/util/plot_tthoma.py b/util/plot_tthoma.py index a2e89a0f..bfbbe075 100755 --- a/util/plot_tthoma.py +++ b/util/plot_tthoma.py @@ -1,7 +1,6 @@ #!/usr/bin/python3 # Copyright (c) 2023 Homa Developers -# # SPDX-License-Identifier: BSD-1-Clause # This file provides a collection of functions that plot data generated diff --git a/util/receive_raw.c b/util/receive_raw.c index 0e79978f..133be3b6 100644 --- a/util/receive_raw.c +++ b/util/receive_raw.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This is a test program that uses a raw socket to receive packets diff --git a/util/rpcid.py b/util/rpcid.py index ac0cd4ad..ebb3acf4 100755 --- a/util/rpcid.py +++ b/util/rpcid.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c)2023 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c)2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ Analyzes Homa timetraces on two different machines to extract a diff --git a/util/send_raw.c b/util/send_raw.c index 76129125..f470bce3 100644 --- a/util/send_raw.c +++ b/util/send_raw.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This is a test program that will send a packet to a given diff --git a/util/server.cc b/util/server.cc index 3ff09280..13cdd3d2 100644 --- a/util/server.cc +++ b/util/server.cc @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This is a test program that acts as a server for testing either diff --git a/util/service.py b/util/service.py index 55c10796..756d0239 100755 --- a/util/service.py +++ b/util/service.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2019-2022 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2019-2022 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ Compute service times for RPCs from a server-side trace. diff --git a/util/smi.cc b/util/smi.cc index 69b0a8f9..ea9f0f3f 100644 --- a/util/smi.cc +++ b/util/smi.cc @@ -1,16 +1,5 @@ -/* Copyright (c) 2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This program spawns a collection of threads on different cores to diff --git a/util/test_time_trace.c b/util/test_time_trace.c index 2c4d6a83..31ae3efe 100644 --- a/util/test_time_trace.c +++ b/util/test_time_trace.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This program exercises the Linux kernel time trace mechanism diff --git a/util/test_utils.cc b/util/test_utils.cc index 76ead541..444390d3 100644 --- a/util/test_utils.cc +++ b/util/test_utils.cc @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2023 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2023 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This file contains a collection of functions that are useful in diff --git a/util/test_utils.h b/util/test_utils.h index 8c91f78a..ec9a117b 100644 --- a/util/test_utils.h +++ b/util/test_utils.h @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #ifndef _TEST_UTILS_H diff --git a/util/time_trace.cc b/util/time_trace.cc index dc7beb22..35a1bb34 100644 --- a/util/time_trace.cc +++ b/util/time_trace.cc @@ -1,16 +1,5 @@ -/* Copyright (c) 2014-2022 Stanford University - * - * Permission to use, copy, modify, and distribute this software for any purpose - * with or without fee is hereby granted, provided that the above copyright - * notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR ANY - * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER - * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF - * CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2014-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #include diff --git a/util/time_trace.h b/util/time_trace.h index 7f2c3f4f..5e3e989e 100644 --- a/util/time_trace.h +++ b/util/time_trace.h @@ -1,16 +1,5 @@ -/* Copyright (c) 2020-2022 Stanford University - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2020-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ #ifndef TIMETRACE_H diff --git a/util/ttcore.py b/util/ttcore.py index 05264a89..3897f966 100755 --- a/util/ttcore.py +++ b/util/ttcore.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2019-2022 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2019-2022 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ Scan the timetrace data in a log file; for records containing certain diff --git a/util/ttgrep.py b/util/ttgrep.py index 14d62ee9..cf53c907 100755 --- a/util/ttgrep.py +++ b/util/ttgrep.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2019-2022 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2019-2022 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ Scan the time trace data in a log file; find all records containing diff --git a/util/tthoma.py b/util/tthoma.py index 44c631b9..6eadf652 100755 --- a/util/tthoma.py +++ b/util/tthoma.py @@ -1,5 +1,8 @@ #!/usr/bin/python3 +# Copyright (c)2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause + """ This script analyzes time traces gathered from Homa in a variety of ways. Invoke with the --help option for documentation. diff --git a/util/ttmerge.py b/util/ttmerge.py index f52b7242..e2ffed21 100755 --- a/util/ttmerge.py +++ b/util/ttmerge.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2019-2022 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2019-2022 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ Merge two or more timetraces into a single trace. All of the traces diff --git a/util/ttmlxalloc.py b/util/ttmlxalloc.py index 87b0dfe6..33fb83ac 100755 --- a/util/ttmlxalloc.py +++ b/util/ttmlxalloc.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2022-2023 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2022-2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ Scans a time trace file for entries generated by the Mellanox driver about diff --git a/util/ttnicdelay.py b/util/ttnicdelay.py index 0ba6b1bd..ad113ed3 100755 --- a/util/ttnicdelay.py +++ b/util/ttnicdelay.py @@ -1,5 +1,8 @@ #!/usr/bin/python3 +# Copyright (c)2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause + """ This program looks for evidence suggesting that NICs are configured to delay interrupts. It scans two timetraces for the same time interval, one diff --git a/util/ttoffset.py b/util/ttoffset.py index 69627bd2..a9591835 100755 --- a/util/ttoffset.py +++ b/util/ttoffset.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2019-2022 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2019-2022 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ Rewrite a time trace with all of the times offset by a fixed amount diff --git a/util/ttprint.py b/util/ttprint.py index f54467d3..b8553169 100755 --- a/util/ttprint.py +++ b/util/ttprint.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2019-2022 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2019-2022 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ This program reads timetrace information from /proc/timetrace (or from diff --git a/util/ttrange.py b/util/ttrange.py index 9cae919e..dfcd6eec 100755 --- a/util/ttrange.py +++ b/util/ttrange.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2019-2022 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2019-2022 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ Extract entries from a timetrace that For any particular time range. diff --git a/util/ttskbs.py b/util/ttskbs.py index 2e3a7239..6e3c62ec 100755 --- a/util/ttskbs.py +++ b/util/ttskbs.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2022-2023 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2022-2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ Scans a time trace file to analyze the lifetimes of receive buffers diff --git a/util/ttsum.py b/util/ttsum.py index 49e800f0..99627b04 100755 --- a/util/ttsum.py +++ b/util/ttsum.py @@ -1,18 +1,7 @@ #!/usr/bin/python3 -# Copyright (c) 2019-2022 Stanford University -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DISCLAIM ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL AUTHORS BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# Copyright (c) 2019-2022 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause """ This program reads one or more timetrace logs and generates summary diff --git a/util/ttsync.py b/util/ttsync.py index b03408fa..befbdcf0 100755 --- a/util/ttsync.py +++ b/util/ttsync.py @@ -1,9 +1,13 @@ #!/usr/bin/python3 +# Copyright (c)2023 Homa Developers +# SPDX-License-Identifier: BSD-1-Clause + """ -Scans two timetraces covering the same time interval, determines the clock -offset between the two machines, and outputs the second timetrace with its -times adjusted so that they are synchronized with the first timetrace. +Scans two or more timetraces covering the same time interval, determines the +clock offsets between each machine and the first, and adjusts the times in +all of the traces except the first so that the clocks are synchronized +across the traces """ from __future__ import division, print_function diff --git a/util/use_memory.c b/util/use_memory.c index 12d26c67..ee72dd84 100644 --- a/util/use_memory.c +++ b/util/use_memory.c @@ -1,16 +1,5 @@ -/* Copyright (c) 2019-2022 Stanford University - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* Copyright (c) 2019-2022 Homa Developers + * SPDX-License-Identifier: BSD-1-Clause */ /* This program allocates a given amount of memory and then sleeps