{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/orleans/issues/309","labels_url":"https://api.github.com/repos/dotnet/orleans/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/orleans/issues/309/comments","events_url":"https://api.github.com/repos/dotnet/orleans/issues/309/events","html_url":"https://github.com/dotnet/orleans/issues/309","id":67165794,"number":309,"title":"Azure CPU usage-- typical?","user":{"login":"jptaylor226","id":11837591,"avatar_url":"https://avatars.githubusercontent.com/u/11837591?v=3","gravatar_id":"","url":"https://api.github.com/users/jptaylor226","html_url":"https://github.com/jptaylor226","followers_url":"https://api.github.com/users/jptaylor226/followers","following_url":"https://api.github.com/users/jptaylor226/following{/other_user}","gists_url":"https://api.github.com/users/jptaylor226/gists{/gist_id}","starred_url":"https://api.github.com/users/jptaylor226/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jptaylor226/subscriptions","organizations_url":"https://api.github.com/users/jptaylor226/orgs","repos_url":"https://api.github.com/users/jptaylor226/repos","events_url":"https://api.github.com/users/jptaylor226/events{/privacy}","received_events_url":"https://api.github.com/users/jptaylor226/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/orleans/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"gabikliot","id":10171207,"avatar_url":"https://avatars.githubusercontent.com/u/10171207?v=3","gravatar_id":"","url":"https://api.github.com/users/gabikliot","html_url":"https://github.com/gabikliot","followers_url":"https://api.github.com/users/gabikliot/followers","following_url":"https://api.github.com/users/gabikliot/following{/other_user}","gists_url":"https://api.github.com/users/gabikliot/gists{/gist_id}","starred_url":"https://api.github.com/users/gabikliot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabikliot/subscriptions","organizations_url":"https://api.github.com/users/gabikliot/orgs","repos_url":"https://api.github.com/users/gabikliot/repos","events_url":"https://api.github.com/users/gabikliot/events{/privacy}","received_events_url":"https://api.github.com/users/gabikliot/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-04-08T16:18:27Z","updated_at":"2015-04-09T18:31:27Z","closed_at":"2015-04-09T18:25:22Z","body":"My scenario is that I have two workers, hosting silos, and one web api with this configuration:\r\n\r\n<poem>\r\n&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;ServiceDefinition name=\"HanoiCloud\" xmlns=\"http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition\" schemaVersion=\"2014-06.2.4\"&gt;\r\n  &lt;WorkerRole name=\"HanoiWorker\" vmsize=\"Medium\"&gt;\r\n    &lt;ConfigurationSettings&gt;\r\n      &lt;Setting name=\"DataConnectionString\" /&gt;\r\n    &lt;/ConfigurationSettings&gt;\r\n    &lt;LocalResources&gt;\r\n      &lt;LocalStorage name=\"LocalStoreDirectory\" cleanOnRoleRecycle=\"false\" /&gt;\r\n    &lt;/LocalResources&gt;\r\n    &lt;Endpoints&gt;\r\n      &lt;InternalEndpoint name=\"OrleansSiloEndpoint\" protocol=\"tcp\" port=\"11111\" /&gt;\r\n      &lt;InternalEndpoint name=\"OrleansProxyEndpoint\" protocol=\"tcp\" port=\"30000\" /&gt;\r\n    &lt;/Endpoints&gt;\r\n  &lt;/WorkerRole&gt;\r\n  &lt;WorkerRole name=\"MonasteryRole\" vmsize=\"Small\"&gt;\r\n    &lt;Endpoints&gt;\r\n      &lt;InputEndpoint name=\"Endpoint1\" protocol=\"http\" port=\"80\" localPort=\"80\" /&gt;\r\n    &lt;/Endpoints&gt;\r\n  &lt;/WorkerRole&gt;\r\n&lt;/ServiceDefinition&gt;\r\n</poem>\r\n\r\nI'm not performing any load testing-- there are no clients making requests through the Api or calls forwarded from the Api to the silo hosting \"HanoiWorker\"s.  \r\n\r\nYet, when deployed and active, my CPU usage seems really high-- I'm expecting it to be near 0, but 51% and 99% seem really off-base:\r\n![image](https://cloud.githubusercontent.com/assets/11837591/7049667/e57a4c18-dde0-11e4-9a5a-b3f4a26e3d82.png)\r\n\r\nBeing a neophyte, am I doing something obviously wrong?"},"comment":{"url":"https://api.github.com/repos/dotnet/orleans/issues/comments/91320252","html_url":"https://github.com/dotnet/orleans/issues/309#issuecomment-91320252","issue_url":"https://api.github.com/repos/dotnet/orleans/issues/309","id":91320252,"user":{"login":"gabikliot","id":10171207,"avatar_url":"https://avatars.githubusercontent.com/u/10171207?v=3","gravatar_id":"","url":"https://api.github.com/users/gabikliot","html_url":"https://github.com/gabikliot","followers_url":"https://api.github.com/users/gabikliot/followers","following_url":"https://api.github.com/users/gabikliot/following{/other_user}","gists_url":"https://api.github.com/users/gabikliot/gists{/gist_id}","starred_url":"https://api.github.com/users/gabikliot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabikliot/subscriptions","organizations_url":"https://api.github.com/users/gabikliot/orgs","repos_url":"https://api.github.com/users/gabikliot/repos","events_url":"https://api.github.com/users/gabikliot/events{/privacy}","received_events_url":"https://api.github.com/users/gabikliot/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T18:31:27Z","updated_at":"2015-04-09T18:31:27Z","body":"Ye, I am also surprised that statics would have perf. impact. They violate grain isolation, but I don't see how they could have impacted perf. Unless you spin lock on them or do some locking that somehow caused threads to spin wild."}}