Issue : Time to run a model on different computers

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue : Time to run a model on different computers

louis DALPRA
Hello,

My issue is related to the time it takes to run a model on R between two different computers. On my teacher’s computer (MacBook Pro 2013; OS 10.9.5; R version 3.1.3) it takes only a few minutes to run it while on mine (MacBook Air 2014; OS 10.13.6; R version 3.5.1) it takes several hours. I checked for malware, and reinstalled the system but still no changes. Does any one have an idea on what might be the issue ?

In advance thank’s for your time and answers.
______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: Issue : Time to run a model on different computers

Bert Gunter-2
You did not say what memory resources were in the two cases, and it is
probably impossible to say without knowing what code you ran in any case.
That you have different versions of OS and R on the two computers already
means that there could be many possible explanations, but one wild guess is
that on your computer/R version/OS version you are memory limited and
swapping to and from disk, while on the other you are not. This may well be
nothing more than stupid speculation, though.

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 Sun, Jul 22, 2018 at 5:24 AM, louis DALPRA <[hidden email]>
wrote:

> Hello,
>
> My issue is related to the time it takes to run a model on R between two
> different computers. On my teacher’s computer (MacBook Pro 2013; OS 10.9.5;
> R version 3.1.3) it takes only a few minutes to run it while on mine
> (MacBook Air 2014; OS 10.13.6; R version 3.5.1) it takes several hours. I
> checked for malware, and reinstalled the system but still no changes. Does
> any one have an idea on what might be the issue ?
>
> In advance thank’s for your time and answers.
> ______________________________________________
> [hidden email] 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]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: Issue : Time to run a model on different computers

Bert Gunter-2
1. Unless there is good reason not to, always cc the list, which I have
done here.

2. I should have added that memory usage and possible swapping issues also
depends on what other software you have running, not just on how much
memory you have.

In other words, I see no way to answer your question without some sort of
local diagnostics. Perhaps others might have a better idea.

-- 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 Tue, Jul 24, 2018 at 2:24 AM, louis DALPRA <[hidden email]>
wrote:

> Hello Bert,
>
> First thank’s a lot for your answer !
> My memory resource is « 4 go 1600 Mhz DDR3 », for my teacher’s computer I
> don’t know but I’ll ask him. You can find in attachment the code I’m using
> if you want to look at it (the model and 2 functions that are called). Is
> there a way to know for sure if it’s caused by memory limitation ?
>
> Have a nice day,
> Louis
>
> Le 22 juil. 2018 à 19:20, Bert Gunter <[hidden email]> a écrit :
>
> You did not say what memory resources were in the two cases, and it is
> probably impossible to say without knowing what code you ran in any case.
> That you have different versions of OS and R on the two computers already
> means that there could be many possible explanations, but one wild guess is
> that on your computer/R version/OS version you are memory limited and
> swapping to and from disk, while on the other you are not. This may well be
> nothing more than stupid speculation, though.
>
> 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 Sun, Jul 22, 2018 at 5:24 AM, louis DALPRA <[hidden email]>
> wrote:
>
>> Hello,
>>
>> My issue is related to the time it takes to run a model on R between two
>> different computers. On my teacher’s computer (MacBook Pro 2013; OS 10.9.5;
>> R version 3.1.3) it takes only a few minutes to run it while on mine
>> (MacBook Air 2014; OS 10.13.6; R version 3.5.1) it takes several hours. I
>> checked for malware, and reinstalled the system but still no changes. Does
>> any one have an idea on what might be the issue ?
>>
>> In advance thank’s for your time and answers.
>> ______________________________________________
>> [hidden email] 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/posti
>> ng-guide.html <http://www.r-project.org/posting-guide.html>
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
>
>
>
>
>

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.