iocage is slow in 11.1-STABLE

Status
Not open for further replies.

ccy

Dabbler
Joined
Nov 16, 2011
Messages
11
This is my NAS server information:
  • Build: FreeNAS-11.1-RELEASE
  • Platform: Intel(R) Atom(TM) CPU C2750 @ 2.40GHz
  • iocage: Version 0.9.10 RC
When I execute iocage command, the response is very slow.

Here are some statistics:

root@nas:~ # time iocage --version
Version 0.9.10 RC
0.885u 0.071s 0:00.95 100.0% 5+637k 0+0io 0pf+0w


root@nas:~ # time iocage
Usage: iocage [OPTIONS] COMMAND [ARGS]...
...
3.945u 0.275s 0:04.22 99.7% 6+1012k 0+0io 0pf+0w
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
How do you know it's slow? Do you have an expect speed iocage should be?
 

ccy

Dabbler
Joined
Nov 16, 2011
Messages
11
How do you know it's slow? Do you have an expect speed iocage should be?

I feel it shouldn't be that slow just to show command line usage in 4 seconds. Never experience in other unix application running in cli.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
I feel it shouldn't be that slow just to show command line usage in 4 seconds. Never experience in other unix application running in cli.
See if you can get some data from other platforms. Iocage is written in Python so it should be exactly the same on regular freebsd.
 

Beep

Dabbler
Joined
Dec 28, 2017
Messages
21
time iocage --version:
real 0m0.644s
user 0m0.589s
sys 0m0.059s

Running on a vmWare ESXI with a Intel NUC (Model: Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz).


Version: FreeNAS-11.1-RELEASE
 

millst

Contributor
Joined
Feb 2, 2015
Messages
141
There's a big difference between running --version and no arguments on my C2758 system. It hits the CPU hard, not sure what it's doing.

-tm
 
Status
Not open for further replies.
Top