On Wednesday, September 27, 2017 at 11:18:41 PM UTC+8, Gyuseong jo wrote:
>
>
> I created a grpc server using python. (grpc 1.6.0, python 3.5.2, ubuntu
> 16.04.2 LTS, 4 core cpu)
>
> I use ThreadPoolExcutor.
> server = grpc.server(futures.ThreadPoolExecutor(max_workers=300))
>
> However, always use only 25% CPU.
>
> It seems to use only single core.
>
> What should I do?
>
> -----------------------
>
> it is same to me. golang grpc server can not use as much cpu as i set.
> it use at most 10 cpus.
>
why?
>
>
> <https://lh3.googleusercontent.com/-n9WaGTsZPws/Wcu-1tnIzlI/AAAAAAAAFNI/aR8OM1piKVYacNXS_R5qmMqxrLNs00-PgCLcBGAs/s1600/%25EC%25A0%259C%25EB%25AA%25A9%2B%25EC%2597%2586%25EC%259D%258C.png>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit
https://groups.google.com/d/msgid/grpc-io/642a42da-ee75-42bc-b25c-4870a4ffb260%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.