AIFM-sys / AIFM

AIFM: High-Performance, Application-Integrated Far Memory
MIT License
104 stars 34 forks source link

Zero window deadlock #3

Closed YangZhou1997 closed 3 years ago

YangZhou1997 commented 3 years ago

Hi,

I was trying to stress testing the Shenango runtime associated with AIFM, and find that when sending objects larger than 64KB continuously, the TCP send function will cause deadlock.

Then I see in tcp.c, there writing "/ TODO: must allow at least one byte to avoid zero window deadlock /"; just wonder if there is quick fix for this issue.

Best, Yang

zainryan commented 3 years ago

hi, try to apply this patch https://github.com/zainryan/serverless/commit/7cca43695514362cec81f1f35cc072b845774921

YangZhou1997 commented 3 years ago

It works perfectly! Really appreciate your help!

zainryan commented 3 years ago

no problem :)