jinhua luo

Results 102 comments of jinhua luo

@FlyTOmeLight Try ApisixRoute without ApisixUpstream, specify the port directly. ```yaml apiVersion: apisix.apache.org/v2 kind: ApisixRoute metadata: name: foo-bar-route spec: http: - name: foo match: hosts: - foo.com paths: - "/foo/*" backends:...

It's better to refer to Nginx [implementation](https://github.com/nginx/nginx/blob/d8a849ae3c99ee5ca82c9a06074761e937dac6d6/src/http/ngx_http_upstream.c#L4037), which is very mature in production. Simply put, the only difference is that we have to implement buffering at the sk/skb level. References:...

Let me give more clarification about the nginx proxy module. 1. The buffers are shared by the upstream and the downstream, i.e. when the buffer is written to the downstream...

> Probably it makes sense to migrate to 6.8 or later, even not stable yet, to get the [TCP performance optimizations](https://www.phoronix.com/news/Linux-6.8-Networking) I have some questions: 1. 6.8 is not an...

I divided this issue into 7 parts: * [part 0](https://github.com/tempesta-tech/linux-6.8.9-tfw/pull/1#issuecomment-2122216431): rcu stall issue: not sure if it's related to our patch or upstream bug, happens rarely * part [1,2 ](https://github.com/tempesta-tech/tempesta/issues/1808#issuecomment-2100632984)and...

## 3. Assembly problem: endbr64-disallow-indirect-jump We have below assembly functions: ``` fw/str_avx2.S:SYM_FUNC_START(__tfw_strtolower_avx2) fw/str_avx2.S:SYM_FUNC_START(__tfw_stricmp_avx2) fw/str_avx2.S:SYM_FUNC_START(__tfw_stricmp_avx2_2lc) fw/str_avx2.S:SYM_FUNC_START(__tfw_match_custom) fw/str_avx2.S:SYM_FUNC_START(__tfw_match_ctext_vchar) fw/str_avx2.S:SYM_FUNC_START(tfw_match_uri) fw/str_avx2.S:SYM_FUNC_START(tfw_match_token) fw/str_avx2.S:SYM_FUNC_START(tfw_match_token_lc) fw/str_avx2.S:SYM_FUNC_START(tfw_match_qetoken) fw/str_avx2.S:SYM_FUNC_START(tfw_match_nctl) fw/str_avx2.S:SYM_FUNC_START(tfw_match_xff) fw/str_avx2.S:SYM_FUNC_START(tfw_match_cookie) fw/str_avx2.S:SYM_FUNC_START(__tfw_match_etag) lib/str_simd.S:SYM_FUNC_START(__memcpy_fast) lib/str_simd.S:SYM_FUNC_START(__memcmp_fast) lib/str_simd.S:SYM_FUNC_START(__bzero_fast) tls/bignum_x86-64.S:SYM_FUNC_START(mpi_cmp_x86_64_4) tls/bignum_x86-64.S:SYM_FUNC_START(mpi_add_x86_64) tls/bignum_x86-64.S:SYM_FUNC_START(mpi_add_mod_p256_x86_64)...

## 4. kernel crash triggered by test cases ### 4.1 cryptd_queue_worker This issue is related to fpu. Because fpu save/restore in softirq context has not worked so far, some assumptions...

## 6. test failures ### ~6.1 ss_tcp_data_ready(): sk->sk_error_queue not empty~ https://github.com/tempesta-tech/tempesta/blob/de0a8a38027e28095b4bd98f2078c1ed598f66b7/fw/sock.c#L942 ``` test_cached_data_equal_to_original (cache.test_cache.TestChunkedResponse) ... b"tempesta_lib: loading out-of-tree module taints kernel.\ntempesta_lib: module verification failed: signature and/or required key missing -...

## 7. TSO ||local http curl|local https curl|remote http curl|remote https curl| |--|--|--|--|--| |remote nginx|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:| |local nginx|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:| ### ~7.1 TLS Alert: Bad Record MAC~ This failure exists for both HTTP/1...