The effectiveness of parallelizing code, be it with mclapply or otherwise, depends in large part on the code, which you failed to show.
I cannot answer your other question. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sat, Jun 30, 2018 at 10:07 AM, akshay kulkarni <akshay...@hotmail.com> wrote: > dear members, > I am using mclapply to parallelize my code. I > am using Red Hat Linux in AWS. > > When I use mclapply, I see no speed increase. I doubt that the Linux OS is > allowing fewer than the maximum number of cores to mclapply ( by default, > mclapply takes all the available cores to it). > > How do you check if the number of workers is less than the output given by > detectCores(), in Linux? Is there any R function for it? > > I do acknowledge that help on an OS is not suitable for this mailing list, > but even Internet could'nt help me. Therefore this mail...... > > very many thanks for your time and effort... > yours sincerely, > AKSHAY M KULKARNI > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/ > posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.