Article View: es.comp.os.linux.programacion
Article #6079Re: Memcpy rápido en modo kernel
From: Alberto Giménez
Date: Sun, 10 Aug 2003 14:46
Date: Sun, 10 Aug 2003 14:46
34 lines
2534 bytes
2534 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El Sat, 09 Aug 2003 10:43:27 +0200, Jayr Al-Dyn escribi�: > - copia del framebuffer a buffer local: 180 �s (tanto en MMX como en memcpy > normal) > - conversi�n RGB565 a RGB24: 50 �s > - reescalado (downsampling) de la imagen: 90 ms > - conversi�n RGB24 a YUV420P: 10 �s > (Por si no se lee bien, el signo �s significa microsegundos) Date cu�n (jarl) que est�s comparando tiempos de acceso a memoria con c�lculos de CPU con datos seguramente cacheados. Las diferencias de tiempo de acceso son abismales (no me acuerdo exactamente el orden de los tiempos de acceso, pero creo que eran en torno a las 100 � 1000 veces m�s lenta memoria que cpu). Saludos - -- Alberto Gim�nez, SimManiac en el IRC http://www.geocities.com/simmaniac_es GNU/Linux Debian Woody 3.0 GnuPG ID: 0x3BAABDE1 Linux registered user #290801 WinError 01E: Timing error - Please wait. And wait. And wait. And wait. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE/NlrG0keCtzuqveERAqIBAJwIynYpgsI9k7SJvnPIlLPn36om9ACaAp7K P9lcmT4tAS6qFLsIVFgdgr8= =yDqy -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<6sl5hb.lj.ln@teleline.es>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!amsnews01.chello.com!news-hub.cableinet.net!blueyonder!marmolejo.escomposlinux.org!frodo.antakira.com!news.antakira.com!antonio.escomposlinux.org!escomposlinux.org!teleline.es!nobodyReferences:
<bh1501$l76$1@rantanplan.linux.es> <slrnbj97uf.ped.gorka@conn.helvete.escomposlinux.org> <bh2c7r$dmi$1@rantanplan.linux.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,59ca0de1d90dfc08 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2003-08-10 17:45:33 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!amsnews01.chello.com!news-hub.cableinet.net!blueyonder!marmolejo.escomposlinux.org!frodo.antakira.com!news.antakira.com!antonio.escomposlinux.org!escomposlinux.org!teleline.es!nobody From: Alberto Giménez <algibe@teleline.es> Newsgroups: es.comp.os.linux.programacion Subject: Re: Memcpy rápido en modo kernel Date: Sun, 10 Aug 2003 16:46:30 +0200 Organization: Ecolnet Lines: 34 Message-ID: <6sl5hb.lj.ln@teleline.es> References: <bh1501$l76$1@rantanplan.linux.es> <slrnbj97uf.ped.gorka@conn.helvete.escomposlinux.org> <bh2c7r$dmi$1@rantanplan.linux.es> Reply-To: algibe@teleline.es NNTP-Posting-Host: 13-bar2-x22.libre.retevision.es Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: antonio.escomposlinux.org 1060562731 5172 62.82.140.13 (11 Aug 2003 00:45:31 GMT) X-Complaints-To: antonio@escomposlinux.org NNTP-Posting-Date: Mon, 11 Aug 2003 00:45:31 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux)