Python论坛  - 讨论区

标题:[python-chinese] python的多线程支持在Linux系统上有问题

2006年04月22日 星期六 20:28

bird devdoer devdoer at gmail.com
Sat Apr 22 20:28:43 HKT 2006

同样的程序在windows平台上,多线程跑起来飞一边的速度,在Linux平台上跟蜗牛爬一样,还不如单线程(速度差别太明显了).
Linux系统的那台机器配置要比windows系统的机器配置高很多.
有人有这样的体会吗?感觉python 的多线程支持在linux平台上还是有问题,我以前就碰到过一些问题.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060422/5aa5b865/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年04月22日 星期六 20:46

Zoom Quiet zoom.quiet at gmail.com
Sat Apr 22 20:46:32 HKT 2006

On 4/22/06, bird devdoer <devdoer at gmail.com> wrote:
>
> 同样的程序在windows平台上,多线程跑起来飞一边的速度,在Linux平台上跟蜗牛爬一样,还不如单线程(速度差别太明显了).
> Linux系统的那台机器配置要比windows系统的机器配置高很多.
> 有人有这样的体会吗?感觉python 的多线程支持在linux平台上还是有问题,我以前就碰到过一些问题.
Python 有两种线程支持模式,编译时你使用了 hurge thread support 选项???

> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>


--
"""Time is unimportant, only life important!
blogging  :  http://blog.zoomquiet.org/pyblosxom/
wiki enter:   http://wiki.woodpecker.org.cn/moin/ZoomQuiet
in douban:  http://www.douban.com/people/zoomq/
"""

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年04月22日 星期六 20:49

bird devdoer devdoer at gmail.com
Sat Apr 22 20:49:18 HKT 2006

???
能说明白点吗?我似乎看到了曙光 :)


2006/4/22, Zoom Quiet <zoom.quiet at gmail.com>:
>
> On 4/22/06, bird devdoer <devdoer at gmail.com> wrote:
> >
> > 同样的程序在windows平台上,多线程跑起来飞一边的速度,在Linux平台上跟蜗牛爬一样,还不如单线程(速度差别太明显了).
> > Linux系统的那台机器配置要比windows系统的机器配置高很多.
> > 有人有这样的体会吗?感觉python 的多线程支持在linux平台上还是有问题,我以前就碰到过一些问题.
> Python 有两种线程支持模式,编译时你使用了 hurge thread support 选项???
>
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
>
> --
> """Time is unimportant, only life important!
> blogging  :  http://blog.zoomquiet.org/pyblosxom/
> wiki enter:   http://wiki.woodpecker.org.cn/moin/ZoomQuiet
> in douban:  http://www.douban.com/people/zoomq/
> """
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060422/ad547560/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年04月22日 星期六 22:53

bird devdoer devdoer at gmail.com
Sat Apr 22 22:53:27 HKT 2006

大家都不写多线程程序么?
在06-4-22,bird devdoer <devdoer at gmail.com> 写道:
>
>  ???
> 能说明白点吗?我似乎看到了曙光 :)
>
>
> 2006/4/22, Zoom Quiet <zoom.quiet at gmail.com>:
>
> > On 4/22/06, bird devdoer <devdoer at gmail.com> wrote:
> > >
> > > 同样的程序在windows平台上,多线程跑起来飞一边的速度,在Linux平台上跟蜗牛爬一样,还不如单线程(速度差别太明显了).
> > > Linux系统的那台机器配置要比windows系统的机器配置高很多.
> > > 有人有这样的体会吗?感觉python 的多线程支持在linux平台上还是有问题,我以前就碰到过一些问题.
> > Python 有两种线程支持模式,编译时你使用了 hurge thread support 选项???
> >
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese at lists.python.cn
> > > Subscribe: send subscribe to
> > > python-chinese-request at lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > > python-chinese-request at lists.python.cn
> > > Detail Info:
> > > http://python.cn/mailman/listinfo/python-chinese
> > >
> > >
> >
> >
> > --
> > """Time is unimportant, only life important!
> > blogging  :  http://blog.zoomquiet.org/pyblosxom/
> > wiki enter:   http://wiki.woodpecker.org.cn/moin/ZoomQuiet
> > in douban:  http://www.douban.com/people/zoomq/
> > """
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060422/d2d8fd50/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年04月23日 星期日 00:25

bird devdoer devdoer at gmail.com
Sun Apr 23 00:25:53 HKT 2006

OK.
自己解决了.


在06-4-22,bird devdoer <devdoer at gmail.com> 写道:
>
>
> 大家都不写多线程程序么?
> 在06-4-22,bird devdoer <devdoer at gmail.com> 写道:
>
> >  ???
> > 能说明白点吗?我似乎看到了曙光 :)
> >
> >
> > 2006/4/22, Zoom Quiet <zoom.quiet at gmail.com>:
> >
> > > On 4/22/06, bird devdoer < devdoer at gmail.com> wrote:
> > > >
> > > > 同样的程序在windows平台上,多线程跑起来飞一边的速度,在Linux平台上跟蜗牛爬一样,还不如单线程(速度差别太明显了).
> > > > Linux系统的那台机器配置要比windows系统的机器配置高很多.
> > > > 有人有这样的体会吗?感觉python 的多线程支持在linux平台上还是有问题,我以前就碰到过一些问题.
> > > Python 有两种线程支持模式,编译时你使用了 hurge thread support 选项???
> > >
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese at lists.python.cn
> > > > Subscribe: send subscribe to
> > > > python-chinese-request at lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> > > > python-chinese-request at lists.python.cn
> > > > Detail Info:
> > > > http://python.cn/mailman/listinfo/python-chinese
> > > >
> > > >
> > >
> > >
> > > --
> > > """Time is unimportant, only life important!
> > > blogging  :  http://blog.zoomquiet.org/pyblosxom/
> > > wiki enter:   http://wiki.woodpecker.org.cn/moin/ZoomQuiet
> > > in douban:   http://www.douban.com/people/zoomq/
> > > """
> > >
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese at lists.python.cn
> > > Subscribe: send subscribe to python-chinese-request at lists.python.cn
> > > Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> > > Detail Info: http://python.cn/mailman/listinfo/python-chinese
> > >
> > >
> >
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060423/e4db9e4a/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年04月23日 星期日 09:40

Zoom.Quiet zoom.quiet at gmail.com
Sun Apr 23 09:40:27 HKT 2006

On 4/23/06, bird devdoer <devdoer at gmail.com> wrote:
>
> OK.
> 自己解决了.
嘿嘿嘿,是程序问题还是Python 编译问题?

有成果就要分享哪………… =)
>
>
> 在06-4-22,bird devdoer <devdoer at gmail.com> 写道:
> >
> >
> > 大家都不写多线程程序么?
> >
> > 在06-4-22,bird devdoer <devdoer at gmail.com> 写道:
> >
> > >
> > >
> > > ???
> > > 能说明白点吗?我似乎看到了曙光 :)
> > >
> > >
> > > 2006/4/22, Zoom Quiet <zoom.quiet at gmail.com>:
> > >
> > > > On 4/22/06, bird devdoer < devdoer at gmail.com> wrote:
> > > > >
> > > > >
> 同样的程序在windows平台上,多线程跑起来飞一边的速度,在Linux平台上跟蜗牛爬一样,还不如单线程(速度差别太明显了).
> > > > > Linux系统的那台机器配置要比windows系统的机器配置高很多.
> > > > > 有人有这样的体会吗?感觉python
> 的多线程支持在linux平台上还是有问题,我以前就碰到过一些问题.
> > > > Python 有两种线程支持模式,编译时你使用了 hurge thread support 选项???
> > > >
> > > > > _______________________________________________
> > > > > python-chinese
> > > > > Post: send python-chinese at lists.python.cn
> > > > > Subscribe: send subscribe to
> > > > > python-chinese-request at lists.python.cn
> > > > > Unsubscribe: send unsubscribe to
> > > > > python-chinese-request at lists.python.cn
> > > > > Detail Info:
> > > > > http://python.cn/mailman/listinfo/python-chinese
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > """Time is unimportant, only life important!
> > > > blogging  :  http://blog.zoomquiet.org/pyblosxom/
> > > > wiki enter:
> http://wiki.woodpecker.org.cn/moin/ZoomQuiet
> > > > in douban:   http://www.douban.com/people/zoomq/
> > > > """
> > > >
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese at lists.python.cn
> > > > Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> > > > Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>


--
"""Time is unimportant, only life important!
blogging  :  http://blog.zoomquiet.org/pyblosxom/
wiki enter:   http://wiki.woodpecker.org.cn/moin/ZoomQuiet
in douban:  http://www.douban.com/people/zoomq/
"""

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年04月23日 星期日 13:17

bird devdoer devdoer at gmail.com
Sun Apr 23 13:17:45 HKT 2006

是实验环境的问题,机房的网络太差 (:
python的多线程在2.3之前是存在问题的,但在2.3之后已经解决了.


2006/4/23, Zoom. Quiet <zoom.quiet at gmail.com>:
>
> On 4/23/06, bird devdoer <devdoer at gmail.com> wrote:
> >
> > OK.
> > 自己解决了.
> 嘿嘿嘿,是程序问题还是Python 编译问题?
>
> 有成果就要分享哪………… =)
> >
> >
> > 在06-4-22,bird devdoer <devdoer at gmail.com> 写道:
> > >
> > >
> > > 大家都不写多线程程序么?
> > >
> > > 在06-4-22,bird devdoer <devdoer at gmail.com> 写道:
> > >
> > > >
> > > >
> > > > ???
> > > > 能说明白点吗?我似乎看到了曙光 :)
> > > >
> > > >
> > > > 2006/4/22, Zoom Quiet <zoom.quiet at gmail.com>:
> > > >
> > > > > On 4/22/06, bird devdoer < devdoer at gmail.com> wrote:
> > > > > >
> > > > > >
> > 同样的程序在windows平台上,多线程跑起来飞一边的速度,在Linux平台上跟蜗牛爬一样,还不如单线程(速度差别太明显了).
> > > > > > Linux系统的那台机器配置要比windows系统的机器配置高很多.
> > > > > > 有人有这样的体会吗?感觉python
> > 的多线程支持在linux平台上还是有问题,我以前就碰到过一些问题.
> > > > > Python 有两种线程支持模式,编译时你使用了 hurge thread support 选项???
> > > > >
> > > > > > _______________________________________________
> > > > > > python-chinese
> > > > > > Post: send python-chinese at lists.python.cn
> > > > > > Subscribe: send subscribe to
> > > > > > python-chinese-request at lists.python.cn
> > > > > > Unsubscribe: send unsubscribe to
> > > > > > python-chinese-request at lists.python.cn
> > > > > > Detail Info:
> > > > > > http://python.cn/mailman/listinfo/python-chinese
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > """Time is unimportant, only life important!
> > > > > blogging  :  http://blog.zoomquiet.org/pyblosxom/
> > > > > wiki enter:
> > http://wiki.woodpecker.org.cn/moin/ZoomQuiet
> > > > > in douban:   http://www.douban.com/people/zoomq/
> > > > > """
> > > > >
> > > > > _______________________________________________
> > > > > python-chinese
> > > > > Post: send python-chinese at lists.python.cn
> > > > > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > > > > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > > > > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
>
> --
> """Time is unimportant, only life important!
> blogging  :  http://blog.zoomquiet.org/pyblosxom/
> wiki enter:   http://wiki.woodpecker.org.cn/moin/ZoomQuiet
> in douban:  http://www.douban.com/people/zoomq/
> """
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060423/0505857f/attachment-0001.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号