Date: Sun, 7 Jan 2018 11:46:52 -0800 From: Mark Millard <markmi@dsl-only.net> To: blubee blubeeme <gurenchan@gmail.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: USB stack Message-ID: <2B2F495A-9CBE-4366-B049-0EC5EF7F9629@dsl-only.net> In-Reply-To: <CALM2mEkxqQMfzKQ7CmBnGmcu11evt129vAjWjm654PG=FJs2kA@mail.gmail.com> References: <3F9697E3-3C25-45CB-804A-9C3607E434C4@dsl-only.net> <CALM2mEnaA7zDVfONFQEBtC2WghbRFoFW2iPpmBKohP1pd45CcQ@mail.gmail.com> <0AB4ED58-E01A-4761-B6EF-4D56F8CA21E3@dsl-only.net> <F9A5DBFF-79C8-417D-9B6D-0788976B558C@dsl-only.net> <FA0FA34D-B941-43DB-8885-902B502A5442@dsl-only.net> <CALM2mEnnc4bzpFoRA_F_FayiBuGLwbwzyf-Gb-U6vmQ0RuGuYQ@mail.gmail.com> <1F10CBFE-1AAC-4307-976A-0CDA80EDC616@dsl-only.net> <CALM2mEkxqQMfzKQ7CmBnGmcu11evt129vAjWjm654PG=FJs2kA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2018-Jan-7, at 10:23 AM, blubee blubeeme <gurenchan atgmail.com> = wrote: > On Mon, Jan 8, 2018 at 1:41 AM, Mark Millard <markmi at dsl-only.net> = wrote: >=20 >> On 2018-Jan-7, at 7:50 AM, blubee blubeeme <gurenchan at gmail.com> = wrote: >>=20 >> > I ran this test and here's some results. >> > gstat -pd images: >> > >> > 18GB file from laptop to phone: https://imgur.com/a/7iHwv >> > 18GB file from laptop to ssd: https://imgur.com/a/40Q6V >> > multiple small files from laptop to phone: = https://imgur.com/a/B4v4y >> > multiple small files from laptop to ssd: https://imgur.com/a/mDiMu >> > >> > The files are missing timestamps but the originals were taken with = scrot and have timestamps available here: = https://nofile.io/f/mzKnkpM9CyC/stats.tar.gz2 >> > >> > as far as why there's such high deletions? I can't say I'm only = using cp. >>=20 >> I assume that md99 is for a file-based swap-space, such as >> via /var/swap0 file. (As a side note I warn about bugzilla >> 206048 for such contexts.) Otherwise please describe how >> md99 is created. (Below I assume the swap-space usage of >> md99.) >>=20 >> The only other device that your pictures show is your >> NVMe device nvd0. >>=20 >> No picture shows a device for the LG v30 when it is mentioned >> above as being copied to or from. How is it that there is no >> mounted device shown for the LG v30? >>=20 >> No picture shows a device for the SSD when it is mentioned >> above as being copied to or from. How is it that there >> is no mounted device shown for the SSD? >>=20 >> Without a device displayed for the LG-v30/SSD there is nothing >> displayed for its reads or writes. This makes the gstat -pd >> useless. >>=20 >> May be the p needs to be omitted for some reason? gstat -d >>=20 >> =3D=3D=3D >> Mark Millard >> markmi at dsl-only.net >=20 > You are correct that md99 is a file backed swap disk, I am aware of = the issues but I had to test some things out. >=20 > Those tests earlier was a huge time sink. > Here's the dmesg output from earlier: > . . . > ---------------------------------- >=20 > I don't know why gstat isn't showing the info u are looking for. >=20 > You said earlier that something was getting deleted,=20 > I don't know what could be causing that. Those "deletes" are more commonly called TRIM on SSD's. FreeBSD called them, BIO_DELETE as I remember. Those deletes have nothing to do with umounting, deleteing devices, etc. > I've provided tons of debug out, logs, pciconf, dmesg, etc... > Even say forget the mobile device and go from > zpool =46rom which I've not been able to figure out the kind of information that I'm looking for. Just because a device is present, does not mean that it is available as a file system. I'm more interested in how the file systems are made available --or if some non-file system way of working is involved. > Are you saying that there's something misconfigured on my end? > What other info do you need me to provide to try to figure out > what's going on or why I'm getting these transfer rates? I'm saying I still can not tell how you make the SSD or the LGv 30 available to FreeBSD (mount?). Or why no matching mounted device shows up in gstat's display. If you wish to keep trying to help me help you, . . . Please show how you make the file system on the SSD available to FreeBSD: what FreeBSD commands make the device available for use. (I'd guess that mount is used or that something like /etc/fstab is used to do mounts more implicitly.) Please show how you make the LG v30 available to FreeBSD: what FreeBSD commands make the device available for use. (I'd guess that mount is used or that something like /etc/fstab is used to do mounts more implicitly.) (I would expect these are mount commands, or at least involve mount commands/calls. Some of the following makes that presumption.) For each of those: with the device available show the output of: mount and of: df -m Similarly, show the exact commands used to make the copies to and from the SSD. Show the exact commands used to make the copies to and from the LG v30. (You can for now stop the commands early or just not start any that would take a long time.) I'm looking for a way to get information similar to what I expected gstat to show. I'd expect a mounted file system but may be something else is involved? =3D=3D=3D Mark Millard markmi at dsl-only.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2B2F495A-9CBE-4366-B049-0EC5EF7F9629>