Hello Not sure if this is useful:
There should be a "?client-list" command on the server telling you how many connections are active. tcpborphserver.h defines TBS_MAX_CLIENTS to 32, though I remember there also being an earlier (or was it a different ?) limit of 4 too - perhaps some repositories have that value ? regards marc On Sun, Dec 8, 2024 at 4:53 PM Ken Semanov <shapkiqua...@gmail.com> wrote: > I need to know everything about what is happening in the PS side with the > katcp server. Otherwise I cannot email the author of the katcp package to > ask questions about it. He will need to know exactly what we are doing with > CASPERized Linux. This is already going to be difficult > > > > > > > > > > > > > > > > > > > > > > > > > > > > <https://report.mimecastcybergraph.com?magiclink=https%3A%2F%2Fapi.services.mimecast.com%2Foauth2%2Fauthorize%3Fresponse_type%3Dcode%26client_id%3Do20nRkVXf7VUVnANkXhoOwGytEwGN0YAlyeDJn7oBTGNl2kN%26state%3DeyJhbGciOiJSU0EtT0FFUC0yNTYiLCJlbmMiOiJBMjU2R0NNIn0.Fk8VdkoqlzG0guBxgAUKpFmPfX1ESIhMuGWA2eiwoXUZXN3KgJkfXS_r0L39R7Hbagmfel7DexJrq0yqAFm15sq7upsup9viMaNkXrj4MFSEL4t5bK3kuEp3oQhqNgvAa8lo2SZ0zAKWRgBg6XwhK0VFGN1ofuF8j-A5VEKiNEGzYcybSxql7uTsizwGXFET9KaNhvNWnCvIeGePM-lmbo4P5a-TJdK6b_qnL00pALjyZdpWIvvq7RJfYZNaEPsU1_qbg5XXByAf1aP-6FaPclYynFaK6_kjsU-uJcFfJKAaq6ZoW2hKB4p61ZbR40eeef97e5unL69KYdKWc-LMnw.cQeoNcVm98qUiF5P.P9jD5qvldn9RZylXh3pGOxh42_C79aEYT7uRdxPLyzKviZQJWmH9hSO-1sWVWu7CX6so_3ZbaIoN2pjls874josO-BZPP8MQ4ZSg2pYMiMsAvMY9arcKGqcMYY9WeasP05li3zaWjb-UopgEVMZlU2e2fh6fNvRBNxKceq2ReFb-wvdPTdE1DFrCrbYw98iyrIgwLjPqtDf15n6MCDPRNbGFHqjPUFitILrR68JzZG2Sj_rS0SJYSymBD0cIZaEKXDqHOcL9aG4Kcgi-lXNsaNs9blfdzjBAb7ZvYBVW8CNDG-nCgzTGWbx1XaUK1VhUv2jUS4DMUU4VdxEtybpOTgShwRkv8hfEcuMQj75gxyuwt50M6RRLf5mfDsK0mWJc_BWxDMME5cZdQ87pG73b-Qs8ABPiEZCEgtYY1d_U-6Y7dP6ZlQByILWpSACHtWiqFc923cutiAcr_1X9WA-N2t4gxM3IoUaftElYevqc9BaGHF_mVMxU3bzWsTGj3nmEz8ItmCQbe3pwn6NWOsX72E1HZrmRK5PYlUsQHjplibeqJ7T2Kq1FeOranHmt6BhQ6mwyqK2DyL5q8eOWhT85f-EI04C6IJ30VXNDEYtqvdkpDRlhmbvwsUqaayCLP0dBrP3zrXTOovZzKHJZKpgkGzezzDcMatmwFiajU5r4X2SKPI-wZbWC7lgNYWjph0LlN9wotZrgow0zoJk7zEzfyM0ZtlT2I9hpuuZwsper33Po5woy7qGX4DUkiV-brGrKpJVeABYKQd1xfPJxA47rk5r95PiQuctLE60fW02Q_Q.3jGzVtJM8s6wjz5MoGg9Lw%26redirect_uri%3Dhttps%3A%2F%2Freport.mimecastcybergraph.com%2Fcallback> > CGBANNERINDICATORI need to know everything about what is happening in the > PS side with the katcp server. Otherwise I cannot email the author of the > katcp package to ask questions about it. He will need to know exactly what > we are doing with CASPERized Linux. This is already going to be difficult > to communicate to him as it is. > > On Sunday, December 8, 2024 at 11:46:07 AM UTC-5 Ken Semanov wrote: > >> The Python version of the server side of KATCP is shown below. (there >> may be a C version somewhere) >> . >> https://github.com/ska-sa/katcp-python/blob/master/katcp/server.py >> <https://github.com/ska-sa/katcp-python/blob/master/katcp/server.py> >> >> This uses futures from concurrent.futures and tornado futures. As some >> may already know, "threading" in Python is fake. All threads stall all >> other threads due to a Global Interpreter Lock (GIL). This is exactly >> the behavior that I am seeing from network speed tests. One of my own >> processes can retrieve from a Snapshot at 2.1 Megabytes/sec. However, >> for 8 concurrent processes, I only see 6.1 Megabytes/sec. It is exactly >> as if the parallel connections refuse to stack up correctly. If the >> CASPERized Linux on the PS of the board side is running Python Katcp (and >> not the C version) then it would be stalling connections until the GIL >> allows them into the single thread-of-execution. >> >> Can anyone on this forum confirm any of this? What is happening on the >> CASPERized Linux image? Where could I see this for myself? What >> processes in ps aux might I see related to katcp servers on the PS side? >> >> >> >> >> On Sunday, December 8, 2024 at 12:26:26 AM UTC-5 Ken Semanov wrote: >> >>> Is there a way I could nose around the katcp server on the board side in >>> order to see how it is configured? >>> >>> Could I reconfigure this server after booting into the board? >>> >>> I am using a CASPERized image on a ZCU216. I am migrating data out of >>> snapshot blocks over network. After several network tests, it appears that >>> the katcp on the board side (PS) is artificially limited to 3 or 4 >>> simultaneous network connections over RJ45 ethernet. My use-case needs >>> this to be more like 8 to 16 connections. I may also need to change the >>> packet size. >>> >>> Thanks. >>> >> -- > You received this message because you are subscribed to the Google Groups " > casper@lists.berkeley.edu" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to casper+unsubscr...@lists.berkeley.edu. > To view this discussion visit > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/386ccab3-d2a3-4507-9542-1b4889b473f3n%40lists.berkeley.edu > <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/386ccab3-d2a3-4507-9542-1b4889b473f3n%40lists.berkeley.edu?utm_medium=email&utm_source=footer> > . > -- The use of google poses numerous <https://jwz.org/xscreensaver/google.html> grave privacy risks Disclaimer The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful. -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To view this discussion visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGrhWaQ09aV-x8wwVXGQ_qHbg2CuxoZYmEaZtc%2B3XjQcAkyqwg%40mail.gmail.com.