Linux CIFS filesystem development
 help / color / mirror / Atom feed
* strange bottleneck with SMB 2.0
@ 2015-08-19 11:11 Yale Zhang
       [not found] ` <CALQF7Zw5ET+uhgskMDMar31q1uo98nkSd9dusX4gQpS47-zKig-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
       [not found] ` <CAH2r5mu3xF2NLU_cTx6BwcYmLHHcpNm8_x_sdkFNhCmM8CF=Kw@mail.gmail.com>
  0 siblings, 2 replies; 6+ messages in thread
From: Yale Zhang @ 2015-08-19 11:11 UTC (permalink / raw)
  To: linux-cifs-u79uwXL29TY76Z2rM5mHXA

SMB developers/users,

I'm experiencing a strange bottleneck when my files are mounted as SMB
2.0. When I launch  multiple processes in parallel for benchmarking,
only the 1st one starts, and the rest won't start until the 1st one
finishes:

---------------------------------------test
programs--------------------------------
#!/bin/sh
./a.out&
./a.out&
./a.out&
wait

a.out is just a C program like this:

int main()
{
  printf("greetings\n");
  while (true);
  return 0;
}

Apparently, this only affects SMB 2.0. I tried it with SMB 2.1, SMB
3.0, & SMB 3.02, and everything starts in parallel as expected.

I'm assuming SMB 3 and especially SMB 2.1 would share a common
implementation. How could 2.0 have the problem but not 3? It almost
seems the bottleneck is a feature instead of a bug?  8(

Can it still be fixed?

-Yale

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-09-29  0:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-19 11:11 strange bottleneck with SMB 2.0 Yale Zhang
     [not found] ` <CALQF7Zw5ET+uhgskMDMar31q1uo98nkSd9dusX4gQpS47-zKig-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-19 12:40   ` Steve French
2015-08-20 12:57   ` Jeff Layton
     [not found]     ` <20150820085701.46611da1-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2015-09-29  0:09       ` Yale Zhang
     [not found]         ` <CALQF7Zz63RFF6C4YW8C0-spwHju=BTCDcyKtvAUh_0Lhe=Xseg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-09-29  0:18           ` Steve French
     [not found] ` <CAH2r5mu3xF2NLU_cTx6BwcYmLHHcpNm8_x_sdkFNhCmM8CF=Kw@mail.gmail.com>
     [not found]   ` <CAH2r5mu3xF2NLU_cTx6BwcYmLHHcpNm8_x_sdkFNhCmM8CF=Kw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-08-19 13:41     ` Yale Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox