Greetings,
I'm posting the wrapup on this discussion under a new subject, as I think it will bring useful information to more people than an apparently esoteric issue with -clogit-. For those interested, all the detail is in the original posting/conversation.
Summary: Per the old subject, I started by complaining of -clogit- very slowly under v. 13 MP2, and I thought the problem was an MP2 vs. IC problem or a Stata version problem. It turned out, as Hua Peng of StataCorp explained at the posting above, that the issue was that I had a very large maximum matrix size set in MP2, 11,000, vs. the 800 max that is possible in IC. When I reset to a small -matsize- (say 1000), the performance problem went away. The problem is that a large -matsize-, even in a machine with apparently large amounts of memory available, can in some cases cause problems with the machine's efficiently using main memory and cache memory.
Using a large matsize that is not needed is not harmless, which was news to me. In the case at hand, it unnecessarily slowed down -clogit- by a factor of 30.
Regards, Mike
I'm posting the wrapup on this discussion under a new subject, as I think it will bring useful information to more people than an apparently esoteric issue with -clogit-. For those interested, all the detail is in the original posting/conversation.
Summary: Per the old subject, I started by complaining of -clogit- very slowly under v. 13 MP2, and I thought the problem was an MP2 vs. IC problem or a Stata version problem. It turned out, as Hua Peng of StataCorp explained at the posting above, that the issue was that I had a very large maximum matrix size set in MP2, 11,000, vs. the 800 max that is possible in IC. When I reset to a small -matsize- (say 1000), the performance problem went away. The problem is that a large -matsize-, even in a machine with apparently large amounts of memory available, can in some cases cause problems with the machine's efficiently using main memory and cache memory.
Using a large matsize that is not needed is not harmless, which was news to me. In the case at hand, it unnecessarily slowed down -clogit- by a factor of 30.
Regards, Mike
Comment