<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Triggering Of a method 2 times In Intel i7 Processors in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Triggering-Of-a-method-2-times-In-Intel-i7-Processors/m-p/1035300#M4376</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;I have a very peculiar behavior while using .NET Framework 4.0. I have developed a module to send SMS,A Windows Service that triggers every 1 minute to send any SMS present in the Database using a HTTP API URL. I am Using a method from WebRequest class Webrequest.Create() using that I send my SMS.The issue arises when I deploy this in "Intel Core i7-4770", Based on the web-logs of the Server there seems to have 2 request in the interval of 1 minute. The Same Service When Deployed in "Intel Core 2 Duo E7500" Works Normally triggering 1 Web Request per minute.&lt;/P&gt;

&lt;PRE class="brush:csharp;"&gt;string HtmlResult = MakeWebRequestGET(URL); // Method i am using

/*Its Definition*/
public  string MakeWebRequestGET(string url) //url is http api
{
            string result = String.Empty;

            try
            {
                WebRequest WReq = WebRequest.Create(url);
                WebResponse wResp = WReq.GetResponse();
                StreamReader streader = new StreamReader(wResp.GetResponseStream());
                result = streader.ReadToEnd();
                streader.Close();
                wResp.Close();
            }

            catch (Exception ex)
            {
                WriteLog(System.DateTime.Now.TimeOfDay.ToString().Substring(0, 5) +" ##ERROR:SENDING SMS in MakeWebRequestGET()");
                WriteLog(ex.StackTrace);
                WriteLog(ex.Message);
            }

            finally
            {

            }

            return result; //result gives you message id
}
&lt;/PRE&gt;

&lt;P&gt;I am unable to Debug what is the issue. Let me know if any information is missing or any additional information is required.&lt;/P&gt;

&lt;P&gt;Any help is appreciated.&lt;/P&gt;

&lt;P&gt;--&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Anil Nair&lt;/P&gt;</description>
    <pubDate>Mon, 29 Dec 2014 13:14:41 GMT</pubDate>
    <dc:creator>Anil_N_1</dc:creator>
    <dc:date>2014-12-29T13:14:41Z</dc:date>
    <item>
      <title>Triggering Of a method 2 times In Intel i7 Processors</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Triggering-Of-a-method-2-times-In-Intel-i7-Processors/m-p/1035300#M4376</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;I have a very peculiar behavior while using .NET Framework 4.0. I have developed a module to send SMS,A Windows Service that triggers every 1 minute to send any SMS present in the Database using a HTTP API URL. I am Using a method from WebRequest class Webrequest.Create() using that I send my SMS.The issue arises when I deploy this in "Intel Core i7-4770", Based on the web-logs of the Server there seems to have 2 request in the interval of 1 minute. The Same Service When Deployed in "Intel Core 2 Duo E7500" Works Normally triggering 1 Web Request per minute.&lt;/P&gt;

&lt;PRE class="brush:csharp;"&gt;string HtmlResult = MakeWebRequestGET(URL); // Method i am using

/*Its Definition*/
public  string MakeWebRequestGET(string url) //url is http api
{
            string result = String.Empty;

            try
            {
                WebRequest WReq = WebRequest.Create(url);
                WebResponse wResp = WReq.GetResponse();
                StreamReader streader = new StreamReader(wResp.GetResponseStream());
                result = streader.ReadToEnd();
                streader.Close();
                wResp.Close();
            }

            catch (Exception ex)
            {
                WriteLog(System.DateTime.Now.TimeOfDay.ToString().Substring(0, 5) +" ##ERROR:SENDING SMS in MakeWebRequestGET()");
                WriteLog(ex.StackTrace);
                WriteLog(ex.Message);
            }

            finally
            {

            }

            return result; //result gives you message id
}
&lt;/PRE&gt;

&lt;P&gt;I am unable to Debug what is the issue. Let me know if any information is missing or any additional information is required.&lt;/P&gt;

&lt;P&gt;Any help is appreciated.&lt;/P&gt;

&lt;P&gt;--&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Anil Nair&lt;/P&gt;</description>
      <pubDate>Mon, 29 Dec 2014 13:14:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Triggering-Of-a-method-2-times-In-Intel-i7-Processors/m-p/1035300#M4376</guid>
      <dc:creator>Anil_N_1</dc:creator>
      <dc:date>2014-12-29T13:14:41Z</dc:date>
    </item>
    <item>
      <title>Could be OS issue as well. I</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Triggering-Of-a-method-2-times-In-Intel-i7-Processors/m-p/1035301#M4377</link>
      <description>&lt;P&gt;Could be OS issue as well. I was thinking about the possibility that timer can be responsible for your issue.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2015 19:45:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Triggering-Of-a-method-2-times-In-Intel-i7-Processors/m-p/1035301#M4377</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2015-01-05T19:45:57Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Triggering-Of-a-method-2-times-In-Intel-i7-Processors/m-p/1035302#M4378</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;The timer works well in my machine "Windows 7". I have tested it in 3 to 4 machines. That includes "Windows 7" 32-bit, "Windows XP" 32-bit,&lt;/P&gt;

&lt;P&gt;"Windows Server 2003",64-bit; In all these machines program works fine.I was thinking there is some issues in WebRequest Class implementation in .NET 4 Framework, Could you tell me how can i debug a class in .NET framework??&lt;/P&gt;

&lt;P&gt;Thanks For You Reply. :).&lt;/P&gt;

&lt;P&gt;--&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Anil Nair.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2015 05:33:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Triggering-Of-a-method-2-times-In-Intel-i7-Processors/m-p/1035302#M4378</guid>
      <dc:creator>Anil_N_1</dc:creator>
      <dc:date>2015-01-06T05:33:35Z</dc:date>
    </item>
    <item>
      <title>Try to put a breakpoint n</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Triggering-Of-a-method-2-times-In-Intel-i7-Processors/m-p/1035303#M4379</link>
      <description>&lt;P&gt;Try to put a breakpoint n relevant method/function.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jan 2015 07:52:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Triggering-Of-a-method-2-times-In-Intel-i7-Processors/m-p/1035303#M4379</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2015-01-06T07:52:10Z</dc:date>
    </item>
  </channel>
</rss>

