You are not logged in.
Pages: 1
I bought a new Lenovo ideapad 300-15ISK a few months ago.
While installing arch (this is the second time i install arch on a computer) i had the feeling that the install wasn't smooth.
The first load of programs takes a noticeable long time.
simple read write tests give normal results (I think they are normal):
dd if=/dev/zero of=/test bs=100M count=10
10+0 records in
10+0 records out
1048576000 bytes (1.0 GB, 1000 MiB) copied, 8.35722 s, 125 MB/shdparm -Tt /dev/sda:
Timing cached reads: 10964 MB in 2.00 seconds = 5486.25 MB/sec
Timing buffered disk reads: 346 MB in 3.00 seconds = 115.16 MB/secI think the overall performance of the computer is fine, but there are several areas when the performance is noticeably slow.
if for example i compare the loading time of spyder at my laptop against my 5yo(!) ubuntu pc I get:
at my new laptop:
time sprder3:
real 0m33.124s
user 0m11.773s
sys 0m1.667sat old PC:
time spyder3
real 0m16.037s
user 0m5.771s
sys 0m0.651swhile timing spyder at second old pc still wins:
new laptop:
time spyder3:
real 0m5.934s
user 0m5.867s
sys 0m0.390sold pc:
time spyder3:
real 0m3.900s
user 0m4.592s
sys 0m0.416ssame with loading smaller programs:
new laptop:
time geany
real 0m3.396s
user 0m0.970s
sys 0m0.100sold PC
time geany
real 0m1.980s
user 0m0.335s
sys 0m0.030sIn addition, installing packages through pacman or yaourt usually getting slow at stages like "resolving dependencies".
Output of dmesg here.
Edit:
my laptop processor is 6th Generation Intel® Core™ i5-6200U Processor (2.30GHz 3MB)
the pc at home is intel i3-2100 CPU 3.1GHz
my old pcs hdparm:
Timing cached reads: 10884 MB in 2.00 seconds = 5444.18 MB/sec
Timing buffered disk reads: 534 MB in 3.00 seconds = 177.44 MB/secAny help would be highly appreciated,
David
Last edited by OaaH (2016-11-24 12:03:38)
Offline
desktop spindled hard drives typically are 7200 rpm, while the one in that laptop are 5400 rpm.
I don't know the specs of your old PC so I don't know about the processor on it, but that laptop is a dual core 3.1gHz, at least according to this site
Offline
You are right about me not specifying the processors, i added them to the original post.
You also right that my PCs RPM was 7200, but yet hdparm on both machines wasn't that different to explain the big loading difference:
laptop:
Timing cached reads: 10964 MB in 2.00 seconds = 5486.25 MB/sec
Timing buffered disk reads: 346 MB in 3.00 seconds = 115.16 MB/secpc:
Timing cached reads: 10884 MB in 2.00 seconds = 5444.18 MB/sec
Timing buffered disk reads: 534 MB in 3.00 seconds = 177.44 MB/secAnd as shown above, I got an almost factor 2 in performance between them. Plus the fact that my pc is after all 5 years all, with heavier operating system (ubuntu) and heavier desktop environment (xfce on ubuntu, fluxbox on arch) etc. Programs like pycharm takes 50 seconds to load, spyder 30 seconds, libreoffice writer 15 seconds. It feels like it is too slow for a new machine with minimal setup
Last edited by OaaH (2016-11-24 12:18:15)
Offline
# hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 6368 MB in 2.00 seconds = 3185.37 MB/sec
Timing buffered disk reads: 356 MB in 3.01 seconds = 118.23 MB/sec
# hdparm -Tt /dev/sdc
/dev/sdc:
Timing cached reads: 6442 MB in 2.00 seconds = 3222.30 MB/sec
Timing buffered disk reads: 304 MB in 3.02 seconds = 100.80 MB/sec
#sda is a 10k rpm WD raptor drive,while sdc is a typical 7200 rpm WD drive.
Oaah, you are aware that laptop parts are selected for minimal power usage ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Looking at the user/sys times, I'd benchmark the cpus (single threaded)
Offline
Looking at the user/sys times, I'd benchmark the cpus (single threaded)
some data:
using phoronix c-ray test.
my result: 89.43 seconds
According to OpenBenchmark.org my processor (i5-6200U) should be: 61.98
phoronix scimark, FFT test: 167.54 Mflops
could not find data for processor, but for i5-6600k:~ 350 Mflops
for i5-4250U : 152.67
hardinfo tests:
CPU Blowfish 2790 MHz 3.021
CPU CryptoHash 2790 MHz 420.726
CPU Fibonacci 2790 MHz 1.804
CPU N-Queens 2790 MHz 5.380
FPU FFT 2790 MHz 0.923
FPU Raytracing 2790 MHz 4.198As far as I understand, performance is below average, but not catastrophycally.
Offline
The idea is to test your two systems against each other and c-ray is a multithreaded (<=16 cores) test, thus likely meaningless (for most applications will do a serial startup)
For a simple single core benchmark try
echo 'scale=5000; a(1)*4' | time bc -l # fp
echo '2^2^24' | time bc #intOffline
first command
echo 'scale=5000; a(1)*4' | time bc -l # fplaptop:
21.00user 0.00system 0:21.01elapsed 99%CPU (0avgtext+0avgdata 1952maxresident)k
0inputs+0outputs (0major+132minor)pagefaults 0swapspc:
21.00user 0.00system 0:21.68elapsed 99%CPU (0avgtext+0avgdata 2092maxresident)k
176inputs+0outputs (1major+135minor)pagefaults 0swapsand for the second command:
echo '2^2^24' | time bc #intlaptop:
234.15user 0.10system 3:54.86elapsed 99%CPU (0avgtext+0avgdata 22216maxresident)k
0inputs+0outputs (0major+15884minor)pagefaults 0swapspc:
234.38user 0.17system 4:16.51elapsed 99%CPU (0avgtext+0avgdata 22196maxresident)k
0inputs+0outputs (0major+1485minor)pagefaults 0swapskind of looks the same
Offline
# hdparm -Tt /dev/sda /dev/sda: Timing cached reads: 6368 MB in 2.00 seconds = 3185.37 MB/sec Timing buffered disk reads: 356 MB in 3.01 seconds = 118.23 MB/sec # hdparm -Tt /dev/sdc /dev/sdc: Timing cached reads: 6442 MB in 2.00 seconds = 3222.30 MB/sec Timing buffered disk reads: 304 MB in 3.02 seconds = 100.80 MB/sec #sda is a 10k rpm WD raptor drive,while sdc is a typical 7200 rpm WD drive.
Oaah, you are aware that laptop parts are selected for minimal power usage ?
I admit that you got me confused here, shouldn't the read/write speed be the most accurate performance measure? and didn't hdparm give reliable info about read speed?
I understand that laptops are expected to perform worst then PCs, but i don't recall that my old laptop (also cheep lenovo with arch on it) was that slow.
PS.
Thank you all for helping me!
Offline
The time measures (ignore the wall clock) suggest that the cpu is the limiting factor, but it seems not related to the single core performance (i would have thought so because of the clock margin)
It's not I/O either so the CPU might have to "do more" on the mobile device, maybe because of GPU emulation? Look at glxinfo and maybe the CPU load while running glxgears.
Offline
Output of glxinfo here, I don't have a clue how to interpret this.
Glxgears shows reasonable FPS, and the CPU load is 10-15% while glxgears is running. Note also that i use this laptop to record music, and it gives reasonable performance (although i have an external soundcard), but recording multitrcaks with ardour and processing my guitar heavily with guitarix gives no special Xruns.
I just realized that my cpu scaling was set to powersave. I repeated some of the tests and sow only minor improvements (at load time, spyder became 25 seconds insteat of 30, pycharm 40 instead of 50 etc.). Single core performance was compared when i was in performance mode.
Offline
It says you're using the intel driver and not software GL. Dead end.
Last arrow in my quiver: Is the mobile (slow) system encrypted?
Offline
It says you're using the intel driver and not software GL. Dead end.
Last arrow in my quiver: Is the mobile (slow) system encrypted?
I guess, not on purpose at least...
Offline
Pages: 1