Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

处理时间太长,可否引入多线程 #5

Open
GenghisYoung233 opened this issue Oct 12, 2020 · 1 comment
Open

处理时间太长,可否引入多线程 #5

GenghisYoung233 opened this issue Oct 12, 2020 · 1 comment

Comments

@GenghisYoung233
Copy link

一景GF-6 WFV影像的八个波段运行6s大气校正所需的时间大概是3小时,更改nBlockSize = 1024为nBlockSize = 8192可以将时间减少一半,但还是太久。
能否在引入多线程增大CPU利用率呢?它似乎只用到了Xeon CPU 40核中的两核。如果不能,还有其它方法增大处理速度吗?

@Zhaoguanhua
Copy link
Owner

由于gdal读写机制的限制,多线程处理不太适合,速度提高不会太快,就我的实际经验来说,如果计算机性能支持的话,可以考虑使用多进程,一次处理多个波段的数据。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants