You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@teaclave.apache.org by GitBox <gi...@apache.org> on 2020/12/31 01:36:11 UTC

[GitHub] [incubator-teaclave] gaojunjie03 opened a new issue #451: 关于execution-service服务的问题

gaojunjie03 opened a new issue #451:
URL: https://github.com/apache/incubator-teaclave/issues/451


   我看到这里的源码
   ![image](https://user-images.githubusercontent.com/30582212/103389671-3cd2a400-4b4b-11eb-9852-93cb236a1df7.png)
   一次只能拉取一个准备执行的任务,这里为什么不能做一次拉取多次任务比如5次,然后5次都是并发执行,然后主线程等待这5次线程执行完毕再循环下一次?
   这样看execution-service一次只能执行一个task,这好像效率不是很高。是因为什么不能做并发执行呢?
   (当然我知道可以同时启动多个execution-service,这样就可以并发执行多个task,但效率还是远远不够)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] mssun commented on issue #451: 关于execution-service服务的问题

Posted by GitBox <gi...@apache.org>.
mssun commented on issue #451:
URL: https://github.com/apache/incubator-teaclave/issues/451#issuecomment-754297344


   有一下几个原因:
   
   - SGX EPC 大小受限,多线程不会带来太多的 performance gain
   - 线程之间没有内存隔离(进程隔离),不同 task 在同一进程执行可能会带来安全隐患
   
   一台物理机启动多个 execution-service 的方式进行并发执行应该能满足现在的需求。


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] gaojunjie03 commented on issue #451: 关于execution-service服务的问题

Posted by GitBox <gi...@apache.org>.
gaojunjie03 commented on issue #451:
URL: https://github.com/apache/incubator-teaclave/issues/451#issuecomment-754319737


   > 有一下几个原因:
   > 
   > * SGX EPC 大小受限,多线程不会带来太多的 performance gain
   > * 线程之间没有内存隔离(进程隔离),不同 task 在同一进程执行可能会带来安全隐患
   > 
   > 一台物理机启动多个 execution-service 的方式进行并发执行应该能满足现在的需求。
   
   好的  明白


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org


[GitHub] [incubator-teaclave] gaojunjie03 closed issue #451: 关于execution-service服务的问题

Posted by GitBox <gi...@apache.org>.
gaojunjie03 closed issue #451:
URL: https://github.com/apache/incubator-teaclave/issues/451


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@teaclave.apache.org
For additional commands, e-mail: notifications-help@teaclave.apache.org