INTL 3:770/1 3:770/3   
   REPLYADDR bulleid@ffoil.org.uk   
   REPLYTO 3:770/3.0 UUCP   
   MSGID: bb59388b   
   REPLY: 5455886d   
   PID: SoupGate-Win32 v1.05   
   In message , David Taylor   
    writes   
   >On 09/04/2024 13:52, Adrian wrote:   
   >> I'm currently running a Pi2, which has a BME280 (via a hat) and a SSD   
   >> attached to it. The Pi is now starting to struggle to generate graphs   
   >> for my home website, so I'm thinking of swapping it for a Pi4. A   
   >> rummage online doesn't seem to fully answer my questions.   
   >> Apart from the Pi4, to upgrade, I know that I will need a bigger   
   >>power   
   >> supply and a HDMI adapter lead, but after, things are a bit vague. Can   
   >> I get away with the Pi4 without any additional cooling, or do I need a   
   >> heat sink or fan, and if so, how do they get on with the hat ? The   
   >> space it is in has had a temperature range of -1 to 40 degrees C, the   
   >> mean across that time is about 15.5C.   
   >> TIA   
   >> Adrian   
   >   
   >Adrian,   
   >   
   >No problem with the other suggestions.   
   >   
   >When you say "starting to struggle" what have you measured? Are you   
   >running out of memory, CPU power, disk I/O, or network I/O? I think it   
   >would be useful to know what exactly in your system needs changing.   
   >   
      
   The Pi is run headless in the normal way of things, but being able to   
   connect a keyboard, mouse and monitor is helpful for the initial set up.   
      
   I monitor (every minute), CPU usage and temperature, as well as free   
   memory (in addition to time to ping the router, space used on the SD   
   card and SSD, bytes in/out and logical block access on the SSD). I can   
   also see (using ls) how long it takes for the graphs (as png files) to   
   be created.   
      
   On Sunday, I updated matplotlib (hoping, and failing, to fix a rendering   
   problem). The previous version was ~2.5 years old. Since then, the   
   time taken to generate graphs has risen enormously. What had taken ~5   
   minutes is now taking 12, which isn't good when you do it at a 10 minute   
   interval. Saturday's CPU usage was a fairly typical 0.01 3.27 0,65   
   (min, max, mean), whereas yesterday's was 0.15 9.24 3.92. Memory usage   
   doesn't seem vastly different, and CPU temperature was slightly lower,   
   although that is to an extent governed by the ambient temperature, which   
   has dropped slightly. The other resources appeared to be normalish   
   (they vary a bit anyway). So from what I can see, the problem is that   
   I'm badly lacking in CPU power rather than other resources.   
      
      
   >It's possible that a Pi 3B+ might be a sufficient upgrade (but can you   
   >still get them?).   
   >   
      
   The rationale of looking at a Pi4 rather than a Pi3, was to make a jump   
   ahead so that I've got some spare capacity on the Pi, which gives me   
   room for further expansion, which I'm likely to need in the near future.   
   For no obvious reason, the Pi5 hadn't entered my thought processes.   
      
   Thanks   
      
   Adrian   
   --   
   To Reply :   
   replace "bulleid" with "adrian" - all mail to bulleid is rejected   
   Sorry for the rigmarole, If I want spam, I'll go to the shops   
   Every time someone says "I don't believe in trolls", another one dies.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)   
   SEEN-BY: 10/0 1 15/0 90/1 103/705 105/81 106/201 128/260 129/305 135/220   
   SEEN-BY: 135/225 153/757 7715 218/0 1 601 700 840 870 930 220/70 221/1   
   SEEN-BY: 221/6 360 226/17 30 100 227/114 229/110 111 112 113 200 206   
   SEEN-BY: 229/307 317 400 426 428 470 550 616 664 700 240/1120 266/512   
   SEEN-BY: 267/800 282/1038 291/111 292/854 301/1 113 812 310/31 320/219   
   SEEN-BY: 322/757 335/364 341/66 342/200 396/45 460/58 633/280 712/848   
   SEEN-BY: 770/1 3 100 330 340 772/210 220 230 5020/400 1042 5058/104   
   SEEN-BY: 5075/35   
   PATH: 770/3 1 218/840 221/6 301/1 218/700 229/426   
      
|