[Rd] Is it a good choice to increase the NCONNECTION value?

qweytr1 m@iii@g oii m@ii@ustc@edu@c@ qweytr1 m@iii@g oii m@ii@ustc@edu@c@
Mon Aug 23 18:51:31 CEST 2021

At least in 2015, a github user, tobigithub, submit an [issue](https://github.com/sneumann/xcms/issues/20) about the error "Error in file(con, "w") : all connections are in use"
Nowadays, since AMD have really cool CPUs which increases the thread numbers to 128 or even 256 on a single server, we found that the NCONNECTIONS variable could prevent us from utilizing all the 128 threads.
It might be a good choice to increase its value.

the variable is defined in `R-4.1.1/src/main/connections.c: 17`
I have tested that, increase it to 1024 generates no error and all the clusters (I tried with 256 clusters on my 16 threads Laptop) works fine.

Is it possible increase the size of NCONNECTION?

	[[alternative HTML version deleted]]

More information about the R-devel mailing list