I tried running 'procsystime.d' on my test system in
the work's lab, which is running SXCE snv_97.
Again, I used a Windows iscsi initiator, and this time
transfered a 629 Mbyte file, but only with a 100Base-T
connection from the Windows PC, so it was slower.
About 80 to 90 seconds to transfer the file (write) into the 
OpenSolaris iScsi Target.  Again, I ran the test twice.

The 'Syscall Counts' look ok, but I do not understand
the 'Elapsed Times' statistics.

These claim to be in nano Seconds.
Nano is 10^-9 or 0.000000001

So that makes the "Elapsed Times Total" of 
2194329238161 correspond to 2194.329238161 seconds,
so I don't understand that.

I will post the question on dtrace-discuss and see if 
anyone can explain it too me.

The next question is - what is the actual function of those syscall's?
I found these links:

fcntl(2) – file control
http://docs.sun.com/app/docs/doc/819-2241/fcntl-2?a=view

pread(2) – read from file
http://docs.sun.com/app/docs/doc/819-2241/pread-2?a=view

write(2) – write on a file
http://docs.sun.com/app/docs/doc/819-2241/write-2?a=view

yield(2) – yield execution to another lightweight process
http://docs.sun.com/app/docs/doc/819-2241/yield-2?a=view

pwrite(2) – write on a file
http://docs.sun.com/app/docs/doc/819-2241/pwrite-2?a=view

But no link there for the following names:
'kaio', 'recv', 'pollsys' and 'lwp_park'
..so they are something of a mystery for me at the moment.
Does anyone know how I can find out more...?
Regards
Nigel Smith


# ./procsystime.d -a -n iscsitgtd
Hit Ctrl-C to stop sampling...
^C

Elapsed Times for processes iscsitgtd,

        SYSCALL          TIME (ns)
          fcntl           22694917
          pread           23833897
          write           90671161
          yield          149226966
         pwrite         1484628919
           kaio         1695720450
           recv        51420695325
        pollsys       177852987870
       lwp_park      1961588778656
         TOTAL:      2194329238161

CPU Times for processes iscsitgtd,

        SYSCALL          TIME (ns)
          pread             296097
          yield            7909221
          fcntl            8630756
           kaio           65391582
          write           75650989
        pollsys           82810317
       lwp_park          368354302
           recv          642694391
         pwrite         1359316503
         TOTAL:         2611054158

Syscall Counts for processes iscsitgtd,

        SYSCALL              COUNT
          pread                 10
          yield               2646
          fcntl              10264
         pwrite              10264
        pollsys              10277
          write              10286
           kaio              19832
           recv              20540
       lwp_park             124013
         TOTAL:             208132

#
# ./procsystime.d -a -n iscsitgtd
Hit Ctrl-C to stop sampling...
^C

Elapsed Times for processes iscsitgtd,

        SYSCALL          TIME (ns)
          fcntl           17861433
          write           86671654
          yield          150642795
          pread          185382772
           kaio        17937987766
         pwrite        26071121375
           recv        51060633654
        pollsys       257162227478
       lwp_park      2506235184682
         TOTAL:      2858907713609

CPU Times for processes iscsitgtd,

        SYSCALL          TIME (ns)
          yield            3050210
          pread            3095633
          fcntl            3837401
           kaio           61305644
        pollsys           68931893
          write           71668926
       lwp_park          336155997
           recv          605682812
         pwrite         1374628517
         TOTAL:         2528357033

Syscall Counts for processes iscsitgtd,

        SYSCALL              COUNT
          pread                 20
          yield               1277
          fcntl              10314
         pwrite              10314
        pollsys              10338
          write              10356
           kaio              20550
           recv              20650
       lwp_park             123864
         TOTAL:             207683
-- 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to