Conversation
bc6ed1e to
1759d42
Compare
|
This one fails for PowerPC and also for mips (same error): |
Yes, I already have a fix for this issue, libatomic is missing in TARGET_LDFLAGS and as dependency for libiperf3-mt. Will force-push this soon. |
1759d42 to
be06ee2
Compare
|
@BKPepe When the ssl variant is selected,
EDIT: I tried removing that |
This adds a multithreaded variant of iperf3 as a package. This variant is still experimental, developed in the mt branch of the iperf repository and expected to be merged when it is considered stable. Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
be06ee2 to
4a3873e
Compare
|
Nevermind my message suspecting the issue to cause CI fail , succeeds now. Another However the issue I described is still present, and comes up when previously iperf3(-mt) was selected, but then one deselects it, selects iperf3(-mt)-ssl and does not deselect libiperf3(-mt). Should I account for this here or in a separate PR for both iperf3 and iperf3-mt? |
I believe that this same issue is already present in iperf3. For now, I propose to create issue in this repository about it. So we would not forget about it and someone including me can look at it. I am not able to look at it now, sorry! I am quite busy with other things. |
| define Package/iperf3-mt/install/Default | ||
| $(INSTALL_DIR) $(1)/usr/bin | ||
| $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/iperf3 $(1)/usr/bin/ | ||
| endef | ||
|
|
||
| Package/iperf3-mt/install = $(Package/iperf3-mt/install/Default) | ||
| Package/iperf3-mt-ssl/install = $(Package/iperf3-mt/install/Default) |
There was a problem hiding this comment.
I am thinking about this. It might be nitpicking and I know the intention, why it is done like this, but wouldn't it be better to do it like it is done in iperf3? I mean, we will add one more row, but otherwise it might be better to read.
My proposal:
define Package/iperf3-mt/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/iperf3 $(1)/usr/bin/
endef
define Package/iperf3-mt-ssl/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/iperf3 $(1)/usr/bin/
endef
Nothing wrong about this, if you dont want it, I am fine with that.
There was a problem hiding this comment.
I have no clear opinion on this.
I saw that in the mtr Makefile, and it looked a bit cleaner to me, but I guess that's subjective. :)
BKPepe
left a comment
There was a problem hiding this comment.
Yeah, we reached the end here. 👍 Thanks. If there are no objections within 48hours, I will merge this. This looks good.
|
While I haven't done any benchmarking at all I would guess that it makes sense to force |
I haven't done either so far. Probably this can be discussed in a separate PR, if I understand this correctly it could also be discussed for the normal iperf3. |
|
ping @BKPepe |
This adds a multithreaded variant of iperf3 as a package. This variant is still experimental, developed in the mt branch of the iperf repository and expected to be merged when it is considered stable.
Maintainer: me / @jonasjelonek
Compile tested: aarch64_cortex-a53 (BananaPi R64) + x86/64 (APU2C4), OpenWrt snapshot
Run tested: aarch64_cortex-a53 (BananaPi R64) + x86/64 (APU2C4), OpenWrt snapshot
Description:
The main iperf3 that we already have as a package, has no support for multithreading yet. However, the developers are working already on that in the
mtbranch of the iperf Github repository and release this as 3.XX-mt versions. This multithreaded iperf3 is still considered experimental, however, in my tests I couldn't notice any instabilities so far and the load is distributed across multiple CPU cores when using multiple streams.Starting point for this Makefile is the one of the normal iperf3. I switched to Github codeload because the developers only publish non-beta versions of the multithreaded variant in the other one. This PR starts with
3.15-mt-beta1, the latest non-beta published in the location that theiperf3package uses is3.13-mt1. I think we can go with this beta to not lack behind the non-MT version.