#the relevant part is in the client-side

1 messages · Page 1 of 1 (latest)

unique tree
#

changing the send.go semaphore didn't seem to make any difference. Just to double check, do I need to only recompile the client when changing that? or does it also affect the server?

steel ether
#

Yeah for increasing the size of the send pipeline that's all you should need to change. What did you increase it to out of curiousity?

Other random thoughts:

  1. There's technically another limit of only queueing up 128 paths to diff at a time https://github.com/sipsma/dagger/blob/c9df98d956f46faf835b82f692eac98a90933347/engine/filesync/diff.go#L50-L50, sorta doubt that's a bottleneck but maybe? That one is server side
  2. grpc stream behavior is potentially relevant here. I don't remember what limits or behavior, if any, apply here. Might be worth a look
  3. I guess worst case you can definitely figure out the bottleneck eventually by a combination of adding spans and maybe looking at pprof to see if there's any obvious bottlenecks in userspace code
unique tree
#

Yeah for increasing the size of the send pipeline that's all you should need to change. What did you increase it to out of curiousity?

that 4 to 10 basically which is hardcoded in send.go

steel ether
#

for the "thousands of little file cases" going from 4->10 might not move the needle enough