Hi guys, i have 2 nextcloud instances, one is the main instance (debian 8 + core i3 + 4GB RAM) and the other is one offline backup site synced once a week. (debian 8 , J1800 celeron + 4GB RAM). One thing i have noticed is that if i run :
# sudo -u www-data php /var/www/nextcloud/console.php files:scan --all
on the i3, it will finish with:
±--------±-------±-------------+
| Folders | Files | Elapsed time |
±--------±-------±-------------+
| 7503 | 128262 | 00:01:30 |
±--------±-------±-------------+
but in the j1800:
| Folders | Files | Elapsed time |
±--------±-------±-------------+
| 7341 | 122803 | 00:30:10 |
±--------±-------±-------------+
Should the performance really be this different ?
Both running nextcloud 12.0
definitely…
what i3 do you have?
j1800 is an old proc & has 1MB cache & doesnt support hyper threading.
unless i know what i3 you have cant comment on it or compare
Intel® Core™ i3-4150 CPU @ 3.50GHz
vs
Intel® Celeron® CPU J1800 @ 2.41GHz
What i really think strange is that during the scan the cpu is:
%Cpu(s): 9.2 us, 2.8 sy, 0.0 ni, 83.8 id, 3.8 wa, 0.0 hi, 0.3 si, 0.0 st
jsalatiel:
i3-4150
Ah!
i3 4150 is 2 cores & 4 threads while j1800 is 2cores 2 threads. thats 1 reason
i3 supports hyperthreading
i3 has 3MB cache - 3 times the 1800
More comparisons here
Compare Intel® Core™ i3-4150 Processor (3M Cache, 3.50 GHz), Intel® Celeron® Processor J1800 (1M Cache, up to 2.58 GHz)
On another note, are you using same type of disks on both machines? SSD/harddisk with same speed etc.?